How to programmatically rename all instances of a signal/variable in a Simulink model?
9 ビュー (過去 30 日間)
Hello, I would like to write a script that can find all instances of a signal in a Simulink model and rename it. For example, let's say I have a signal "bus1.Signal" that I would like to rename to "bus1.subBus.Signal". There are many, many subsystems in my model, and I would like to rename all instances of the signal from the Command Window or via a script. Thanks in advance!
Fangjun Jiang 2022 年 9 月 8 日
It is NOT a signal. Rather, it is a "Bus Element In" "Inport" block.