Initializing Matlab Function in Simulink

조회 수: 7 (최근 30일)
Rick
Rick 2022년 7월 12일
댓글: Paul 2022년 7월 12일
In my Simulink simulation, I use the Matlab function block to model my Plant. The output of the plant goes to model my sensors, eventually and control is calcualted and the loops is closed with the Plant. When i try running the simulation, I get errors in the Plant that indicate none of my inputs are being populated. I tried the initfcn property and got the same error. I even added a paramter input that would generate the input the first time and that logic doesn't help. Any suggestions?
  댓글 수: 1
Paul
Paul 2022년 7월 12일
If possible a screen caputre of your block diagram and the error message would be helpful, at a minimum.
Images can be inserted using the paper clip icon.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

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

제품


릴리스

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by