Can someone please help me to understand what i do wrong with my code and Simulink model?

조회 수: 2 (최근 30일)
I don't uderstand what i do wrong with my model and code and why i can't get proper graphic of temperature, and why 'tout.T' isn't working.
clear
ro1=1050;
ro2=1500;
ro3=1275;
teta2=55;
teta1=75;
teta_z=60;
G2=3e-1;
G1=2e-1;
lambda1=4.19;
lambda2=2.43;
v=42;
sim('model_teploobmennika');
grid on
plot(tout.T)
xlabel('Время, c');
ylabel('Температура, C');
  댓글 수: 2
Sam Chak
Sam Chak 2025년 4월 23일
편집: Sam Chak 2025년 4월 23일
The tout variable is the time vector that is automatically saved to the Workspace. What exactly does out.T, specifically the 'dot-T' part, represent when sent to the Workspace?
Can you go to the block settings and send the data array instead of the data structure to the Workspace?

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

답변 (0개)

카테고리

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

제품


릴리스

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by