How to access Data dictionary data in matlab function block simulink
35 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Fangjun Jiang
2018-11-1
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manage Design Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!