How can I import a data to constant block that into the different simulink model?
1 次查看(过去 30 天)
显示 更早的评论
I have a simulink model that its name is gui. And I want to send two data from gui to simulink model'S constant block. How can I do this?
0 个评论
采纳的回答
Birdman
2017-11-30
You should use set_param command as follows:
set_param('gui/Constant','Value','i')
set_param('gui/Constant1','Value','j')
10 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Schedule Model Components 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!