Referenced model workspace initialization

5 vues (au cours des 30 derniers jours)
Kyle Harbert
Kyle Harbert le 1 Août 2017
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.

Réponses (0)

Catégories

En savoir plus sur Create Large-Scale Model Components dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by