필터 지우기
필터 지우기

Tunable Sample Time for Referenced Model

조회 수: 1 (최근 30일)
Mikel Manzanal Herrero
Mikel Manzanal Herrero 2021년 10월 6일
I have developed a generic model and I would like it to have undefined sample time until I reference it in a top model.
I have followed this answer:
The problem is that I need to do do some operations inside the referened model refering to the sample time.
  • I have defined Ts interface parameter in the model workspace in the generic model.
  • I have also defined the sample time to auto in the configuration pane and the sample time in the in "inport" ports to Ts.
After doing this, I could define the sample time of each referenced model
However I get the next error:
Parameter 'SampleTime' of 'Hueco_Fallo/Value' is non-tunable but refers to model arguments (Ts)

답변 (0개)

카테고리

Help CenterFile Exchange에서 Simulink Coder에 대해 자세히 알아보기

제품


릴리스

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by