How can I make changes to the Signal Builder block from the command line in Simulink 6.2 (R14SP2)?

조회 수: 4 (최근 30일)
I would like to write a script to run my model with various different inputs using the Signal Builder block. I would like to know what commands I can use to control the Signal Builder block from the command line.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2009년 6월 27일
This bug has been fixed in Release 2007a (R2007a). For previous product releases, read below for any possible workarounds:
We have verified that documentation on the command line API for the Signal Builder block is incomplete in Simulink.
For help on the command line API for the Signal Builder block, use the following command:
help signalbuilder
For example, to add another group to the attached model, first save the model, then run the following command:
signalbuilder('sigbuilddemo/Signal Builder','append',[1:10],rand(1,10),'Random Noise','Group 2');
To change the active group to the newly created Group 2, run the following command:
signalbuilder('sigbuilddemo/Signal Builder','activegroup',2);

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Signal Import and Export에 대해 자세히 알아보기

제품


릴리스

R14SP2

Community Treasure Hunt

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

Start Hunting!

Translated by