Error Regarding Simulink's Input Workspace Sample Time Parameter
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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?
0 Kommentare
Antworten (1)
Yuvraj Singh
am 24 Feb. 2023
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>.
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!