Rename Block or Inport

5 views (last 30 days)
Laurensius Christian Danuwinata
Commented: Gerrit on 12 Sep 2016
Hello,
Does anybody know, how to rename/giving name a/to Block or Inport programmatically? Thanks in advance :D.
  1 Comment
Gerrit
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.

Sign in to comment.

Answers (0)

Categories

Find more on Simulink Functions in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!