Import data in Simulink
显示 更早的评论
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
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Signal Import and Export 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!