Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Block Mask Cripples Simulink.Parameter

조회 수: 2 (최근 30일)
Robert
Robert 2018년 7월 12일
마감: MATLAB Answer Bot 2021년 8월 20일
I defined a block mask receiving a parameter that is required to be a Simulink.Parameter object. All is fine as long as I only use this parameter inside the masked subsystem. Simulation and code generation heed all configuration I set on the Simulink.Parameter object. But now I also need to do some computation using this object within the initialisation of the block (MaskInitialization). To my very surprise I end up with an embedded.fi object where most of the information of the original object is lost, as class embedded.fi simply doesn't contain e.g. min/max Values or coder info. Does anyone have an explanation for that behavior? Is there a known workaround aside from passing a string and searching the workspace hierarchy for a variable of that name?

답변 (0개)

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by