Referenced model workspace initialization

조회 수: 8 (최근 30일)
Kyle Harbert
Kyle Harbert 2017년 8월 1일
I have a project that requires concurrent execution. Because of this I must use referenced models. When I switched my pre-existing subsystems to referenced models, I observed input dimension issues for mask parameters. I believe I deduced that the problem was that I initialized the parameters in the model workspace to ‘1’ thus making the parameter a [1x1] variable. I wish to make the parameter of a size that is dictated by workspace variables. However, the menu will not let me input variables for the value or dimension fields. I do not wish for these variables to be tunable in any way…I just wish for their dimensions to be subject to initialization variables in the workspace at compile-time. At present, I can only hard-code them to static values.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by