I tried to analyze initialize port setting in reference model. During model in loop it works fine but its functionality not understanding. During code generation wit ert.tlc and autosar.tlc it is giving below error :
The top model '__________' contains the model block '________' which has one or more of its Initialize, Reset or Terminate ports enabled. Code generated is not supported for such models.
Need c code for reference model initialize port setting to iinitialize function call subsystem. If we use trigger or enable it holds previous value instead of initial output. But we use initialize port with reference model block holds initial value till next change at output.
1 件のコメント
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/544925-why-code-generation-with-model-reference-initialize-port-is-not-working#comment_1081723
このコメントへの直接リンク
https://jp.mathworks.com/matlabcentral/answers/544925-why-code-generation-with-model-reference-initialize-port-is-not-working#comment_1081723
サインインしてコメントする。