Hi Tareef, You'd say something like this:
system(['sumo' ' -c ' projectPath ' --remote-port 8813' ' --step-length 1' ' --quit-on-end ' ' --start &']); Adding the argument works at my place, admittedly in C++, not MATLAB. Cheers, Ruud On Fri, Feb 24, 2023 at 11:53 AM Tareef Sahhary <[email protected]> wrote: > Hello Jakob, > > it is not working! > Where would you set the option --quit-on-end in my code? > system(['sumo' ' -c ' projectPath ' --remote-port 8813' ' --step-length > 1' ' --start &']); > Thanks > Tareef > > Am Fr., 24. Feb. 2023 um 09:10 Uhr schrieb Jakob Erdmann < > [email protected]>: > >> You can set sumo option --quit-on-end (or -Q) to automatically close the >> gui. Consider using 'sumo' instead of 'sumo-gui' if you are running many >> simulations without actually looking at them. >> >> Am Do., 23. Feb. 2023 um 23:21 Uhr schrieb Tareef Sahhary < >> [email protected]>: >> >>> Dear sumo experts, >>> >>> i am using sumo with matlab and looking for a method to close the sumo >>> gui from Matlab. >>> I know how to disconnect the traci using *traci.close();* >>> is there any way to close the gui window? I need to do long simulation >>> using for loop, in which the simulation is going to be called many times. >>> >>> Thanks, >>> Tareef >>> >>> >>> >>> _______________________________________________ >>> sumo-user mailing list >>> [email protected] >>> To unsubscribe from this list, visit >>> https://www.eclipse.org/mailman/listinfo/sumo-user >>> >> _______________________________________________ >> sumo-user mailing list >> [email protected] >> To unsubscribe from this list, visit >> https://www.eclipse.org/mailman/listinfo/sumo-user >> > _______________________________________________ > sumo-user mailing list > [email protected] > To unsubscribe from this list, visit > https://www.eclipse.org/mailman/listinfo/sumo-user >
_______________________________________________ sumo-user mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user
