필터 지우기
필터 지우기

Getting a broken output for a real time project interfaced with matlab??

조회 수: 1 (최근 30일)
I am working on a TRMS model (feedback instrumnts ltd.) interfaced with matlab/simulink r2009a (cant use matlab versions higher than 7.x), which is also having a EML block, with Euler's code to solve differential equations written on it. Now, as can be seen in the pic attached, the matlab is saving only last few values of the outputs. I am getting the same thing on workspace too, its saving only the last few values of even the 'simulation time'. Ready to provide more information if required. Can anyone pls tell why this is happening?? Help Urgent?? Thnx in advance

채택된 답변

Jan Houska
Jan Houska 2015년 5월 19일
If this an External Mode simulation, please go to External Mode Control Panel, Signals and Triggering, and adjust the value of the Duration parameter as needed.
  댓글 수: 1
vinay pandey
vinay pandey 2015년 5월 21일
Hi Jan, thnx for replying. I have already solved the problem. Actually, i was taking an n*n matrix as an output of an EML block, but EML block doesn't support dynamicaly growing matrices. When i removed that n*n variable from the output of EML block the problem gets resolved itself. Now its working fine. Cheers! Vinay

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Target Computer Setup에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by