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 件のコメント
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!