Rename Block or Inport
5 views (last 30 days)
Show older comments
Hello,
Does anybody know, how to rename/giving name a/to Block or Inport programmatically? Thanks in advance :D.
1 Comment
Gerrit
on 12 Sep 2016
Hello, A bit late perhaps for you: The only way I know of an 'automatic' way to change Simulink block, etc. names is by saving the model as an 'mdl'-type model and then editing this with any standard text editor. A bit risky so ensure you have a backup of your model first!
I would love to hear about a more Simulink-specific way to renaming block programmatically as well.
Answers (0)
See Also
Categories
Find more on Simulink Functions in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!