Import data in Simulink
Mostrar comentarios más antiguos
Hi
I would like to import in Simulink about 30 variables (with constant value) declared in .m file and the use these in one Embedded MATLAB Function with their own name.
I try to import the .m file with the library block 'From File' but doesn't works.
I try to import a structure with the library block 'From Workspace' but doesn't works.
I would not to use 30 single block From Workspace and then pass 30 parameter to Embedded MATLAB Function.
I would not to create one array filled with the 30 data and then modify the code inside the function.
There is some other smart way to do this?
Thanks in advance
Mitch
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Signal Import and Export 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!