What is the function behind renaming Simscape Blocks in the Simscape Results Explorer?
Mostrar comentarios más antiguos
Hello I have created a script in Matlab making analyses and calculations out of Simulink/Simscape simulation by reading the 'simlog' variable. The problem is, that the Simscape Blocks are renamed in the structure of 'simlog' in the same way, as they are renamed in the Simscape Results Explorer. For instants 'Chamber 5' is renamed to 'Chamber_5'. Ok this is a easy example, which could be solved by replacing ' ' with '_'. But '1.1 - 1.2' is replaced by 'x1_1_1_2'. Now is my question, what is the function behind this renaming process? How can find out, which name my component will get in the 'simlog' variable. Thanks in advanced Cedric
Respuesta aceptada
Más respuestas (1)
Steven Lord
el 20 de Ag. de 2015
0 votos
Variable names in MATLAB must start with a letter. That string looks like it was created using matlab.lang.makeValidName or perhaps genvarname.
1 comentario
Cedric Götze
el 20 de Ag. de 2015
Categorías
Más información sobre Data Logging en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!