Import data in Simulink
Show older comments
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
Accepted Answer
More Answers (0)
Categories
Find more on Signal Import and Export in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!