String as variable in simulink
Mostrar comentarios más antiguos
Hi, I created my own library of simulink and simscape components. One component is pressure sensor and have scope inside it. I need to save information from that scope in workspace or in file. But every time I have to go inside this component and change file or variable name, because even though names of components do change, but names under which data have to be saved doesn't. So I need way to provide filme or variable name through parameters in component mask. I know how to do that when variable is not a string, but in this case i'm stuck. I tried also "To File" and "To Workspace" components, not just "Scope". Any help and suggestions will be very appreciated.
Tomas
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Composite Components en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!