Warning: Overriding parameters of 'signalbuilder-block...' inside a user defined library block

조회 수: 2 (최근 30일)
I created my own library block with a subsystem that contains 'signalbuilder' blocks.
Now when I use that block in a simulink model and set the signals of the signalbuilder via script, I get the warning message that its parameters are being overwritten.
Is there a way to suppress this warning? Setting the library blocks mask parameters to "MaskSelfModifiable" does not seem to help..
Thank you very much in advance!
BR, Robin

채택된 답변

Vidya Viswanathan
Vidya Viswanathan 2015년 12월 24일
It is generally not a recommended practice to place a Signal Builder block inside a custom library. This is due to the presence of several callbacks associated with that block.
  댓글 수: 1
RobinZ
RobinZ 2016년 1월 11일
Ok, thank you for your answer! My idea was to create a subsystem like "simulation control" that contains several signalbuilder blocks with all the setpoint settings for the whole simulation environment. A custom library would have been nice to create several models but thanks for the advice!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Subsystems에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by