MATLAB: How to run programmatically, sheet by sheet in signal builder

signal builder

Hello Folks,
Can anyone ans below question
How to run programmatically, sheet by sheet in signal builder?
Thanks in advance.

Best Answer

By "Sheet By Sheet" I guess you are referring to the Groups in the Signal Builder.
You can the following command to change the group name to run it individually based on its Index number.
block = 'Model_Name/Signal Builder';
signalbuilder(block,'activegroup',i);
i = index
The code snipet will set the Group as the active Group based on the index provided.
sim('Model_name');
For More information on using scripts alongside with Signal Builder