Error Regarding Simulink's Input Workspace Sample Time Parameter

조회 수: 2 (최근 30일)
Ava Lindquist-Sher
Ava Lindquist-Sher 2023년 2월 6일
답변: Yuvraj Singh 2023년 2월 24일
I wanted to confirm the signal viewed in Simulink was the same as when viewed in MATLAB, however that was not the case. That is when I noticed the error messages pictured. However, when checking the choosen Sample Time parameter values I didn't see any reason for error message since the its values were non-negative and a real double vector. Any suggestions on how to fix?

답변 (1개)

Yuvraj Singh
Yuvraj Singh 2023년 2월 24일
Hi Ava,
Sample Time expects its input to be a real doube scaler or real doube vector of length 2(period,offset). In your case, vOut_T2 is filled as Sample Time, whose dimensions are <double1375001x1>.

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by