Iterating s-function parameters with a For-Each subsystem
조회 수: 6 (최근 30일)
이전 댓글 표시
I am attempting to use an S-function inside a For-Each subsystem. The S-function block has 4 S-function parameters, and I want to iterate one of those parameters using the For-Each subsystem.
It seems this should be possible -
- S-function parameters are tunable according to both discovery techniques.
- ssSupportsMultipleExecInstances is set in the S-function.
- ssSetSFcnParamTunable is set to SS_PRM_SIM_ONLY_TUNABLE in the S-function.
However, when I UpdateDiagram I get a message similar to this:
Parameter 'SFcnBlockParameter' of block 's-function_blockname' cannot reference partitioned mask parameter 'xxxx' of For Each subsystem 'sysname' because parameter 'SFcnBlockParameter' is not tunable.
The message is presented if the S-function block has a mask, and if doesn't.
I can't seem to find information on this SFcnBlockParameter anywhere... Is there something else that needs to be set in the s-function? Is there a Model Configuration Parameter that needs to be set?
댓글 수: 0
답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Classical Control Design에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!