Create workspace BusObject from Bus creator block in simulink
3 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!