what replace old function ltipack.checkABCDE

조회 수: 2 (최근 30일)
Yehuda
Yehuda 2024년 6월 20일
댓글: Yehuda 2024년 6월 24일
in an old m file I used the function ltipack.checkABCDE for lti model.
This function is not recognized by 2024 Matlab version.
I would like to know what replaced this function.
  댓글 수: 2
Ayush Singh
Ayush Singh 2024년 6월 20일
Hi Yehuda,
May i know which version were you using before where the function was working fine and maybe possible, share that part of 'm' file where the function is used?
Yehuda
Yehuda 2024년 6월 24일
It was old - before 2016. But I canged the ss_y function to ss function and it solved my problem.

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

답변 (1개)

Garmit Pant
Garmit Pant 2024년 6월 21일
Hello Yehuda
From what I understand, you are trying to useltipack.checkABCDEfunction in a MATLAB file that was running in an older release but is not supported in R2024a.
Based on my investigation, thecheckABCDEfunction is accessible as a function under ‘ss’ class and not under ‘ltipack’ package. It is not an object function and should not be called using an object of the ‘ss’ class.
Kindly follow the code snippet below to use the “checkABCDEfunction in R2024a.
A = [-1.5,-2;1,0];
B = [0.5;0];
C = [0,1];
D = 0;
sys = ss(A,B,C,D)
sys = A = x1 x2 x1 -1.5 -2 x2 1 0 B = u1 x1 0.5 x2 0 C = x1 x2 y1 0 1 D = u1 y1 0 Continuous-time state-space model.
R = ss.checkABCDE(A,'A')
R = 2x2
-1.5000 -2.0000 1.0000 0
<mw-icon class=""></mw-icon>
<mw-icon class=""></mw-icon>
I hope you find the above explanation and suggestions useful!

카테고리

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

태그

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by