Simulink.Parameter trouble
3 次查看(过去 30 天)
显示 更早的评论
How can i change a simulink parameter's name acording to a specific block, example: i tried to use: get_param(gcb,'name')= struct
get_param(gcb,'name')=Simulink.Parameter
but it's not working.
0 个评论
回答(2 个)
Christopher Wallace
2018-6-7
I'm not entirely clear on your question but it looks like you should be using:
set_param(gcb, 'Name', <insert Simulink parameter>)
What parameter are you wanting to use?
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Event Functions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

