function[CellSpace_nextstepVehicleSpace]=TrafficSimulating(SimTime,TimeStep,CellSpace_current,CellSpace_nextstep,VehicleSpace,VMAX)%TRAFFICSIMULATINGSummaryofthisfunctiongoeshere%仿真程序主体CellSpace_Init=CellSpace_nextstep;%读取信号配时数据SignalCycleMat=load('SignalCycleInfo.ini');sCycle=SignalCycleMat(1);%周期长度sGreenTime=SignalCycleMat(2);%绿灯时长sRedTime=SignalCycleMat(3);%红灯时长%%是否加载换道模型LaneChangingModelINIMat=load('LaneChangingModeInfo.ini');UseLaneChangingModelFlag=LaneChangingModelINIMat(1);end
1