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
2025년 4월 23일
편집: Sam Chak
2025년 4월 23일
Hi @Artyom
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 Center 및 File Exchange에서 Simulink Functions에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!