import data from mfile to simulink
Show older comments
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 Comments
farid
on 18 Aug 2018
Haritha
on 18 Aug 2018
You have to create call back for that .m file. Then only simulink will access the variables from workspace
farid
on 18 Aug 2018
Haritha
on 18 Aug 2018
https://in.mathworks.com/videos/improved-signal-management-with-model-explorer-68936.html. Check this example you will get an idea.
farid
on 19 Aug 2018
brn ny
on 20 Aug 2018
what type of data are you trying to import?can you share the files or screenshots?
farid
on 20 Aug 2018
Answers (0)
Categories
Find more on Simulink 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!