Hello,


I would like to implement a Matlab Function block in a Simulink model that uses 
the TraCI4Matlab commands to establish a connection with SUMO. The problem is 
that TraCI commands are not recognized by Simulink, and it gives me many errors 
during compilation.




 


TraCI commands, on the other hand, only work in a Matlab script, but I would 
like to use them in my Simulink model.




 


I am currently using these commands to establish a connection within the Matlab 
Functional block:




 


< system(['sumo-gui -c ' '.\Config_file.sumocfg --remote-port 8813 --start&']);



traci.init();



/>




 


Is there a solution or some references to be inspired by?




Thanks,

Mehmet

_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to