import data from mfile to simulink
显示 更早的评论
hello dears I use "from work space block" to import data from mfile to simulink .but i encounter with error "Invalid setting in 'R_T/Subsystem2/From Workspace' for parameter 'VariableName'" . i cant resolve this error. Thanks if you help me
7 个评论
farid
2018-8-18
Haritha
2018-8-18
You have to create call back for that .m file. Then only simulink will access the variables from workspace
farid
2018-8-18
Haritha
2018-8-18
https://in.mathworks.com/videos/improved-signal-management-with-model-explorer-68936.html. Check this example you will get an idea.
farid
2018-8-19
brn ny
2018-8-20
what type of data are you trying to import?can you share the files or screenshots?
farid
2018-8-20
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!