Import data in Simulink
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Signal Import and Export dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!