How to access Data dictionary data in matlab function block simulink
15 views (last 30 days)
Show older comments
I am having problems with using data from data dictionary in a matlab function block. If i have some constants store in the data dictionary that i want to use inside a matlab function block, how do i do that?
0 Comments
Answers (1)
Fangjun Jiang
on 1 Nov 2018
Add a "data" to the MATLAB Function block and specify its scope as "Parameter" (rather than input or output). Have "data" defined in your Simulink data dictionary.
0 Comments
See Also
Categories
Find more on Manage Design Data 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!