RTW C-API and Matrix-Parameters of variable length (and width).....

1 回表示 (過去 30 日間)
uli terlinden
uli terlinden 2011 年 9 月 13 日
Hello, my question is the following: i want to use the C-API in RTW (...MatLab 2007b) to change the Parameters in a compiled Model. That does work in some sense, but if my Parameters are vectors, i am not able to change their length after compiling the Model. Is this anyway not possible or are there some kind of mechanisms in the RTW to do this ?? so long, thanks for reading my question,
Uli

採用された回答

Kaustubha Govind
Kaustubha Govind 2011 年 9 月 13 日
AFAIK, you cannot change the attributes of the parameters (datatype, dimensions, complexity, etc.) once the model has been compiled. Only the value can change. It is however possible to change the dimensions of the inputs/outputs (see Variable-Size Signal Basics).
  1 件のコメント
uli terlinden
uli terlinden 2011 年 9 月 13 日
Too bad, i was afraid so.
Thank you very much for your answer.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by