Create workspace BusObject from Bus creator block in simulink

3 views (last 30 days)
Hello dear community,
I have a problem by using the command Simulink.Bus.createObject. I want to automatically create a workspace BusObject of my Bus creator in Simulink (as in the example http://de.mathworks.com/help/simulink/slref/simulink.bus.createobject.html ). Now I have the problem that I get this error message: The actual error message is: Invalid Name 'Ecu_WssFL_Edges[-]' specified; Name must be a valid identifier that starts with an alphabetic or '_' character......
I get the point that square bracket is the problem. But as my bus contains hundreds of signals with this brackets I don´t want to change the names by hand. Do you probably know any workaround how to avoid this error message or do you have any other suggestion?
Thank you very much!
David

Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!