Changing text of subsystem according to textbox
1 次查看(过去 30 天)
显示 更早的评论
Hi everyone!
I have a subsystem like this;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270701/image.jpeg)
I am using this code;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270702/image.jpeg)
But I want to change this text according to textbox which is a parameter of this subsystem. For example;
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/270703/image.jpeg)
In this condition I want to see "1000" on the subsystem block, not "example". And I want to change this text according to value of this textbox.
Thanks for help.
0 个评论
采纳的回答
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Programmatic Model Editing 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!