필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Simulink modelling with timeseries data

조회 수: 1 (최근 30일)
An
An 2020년 6월 8일
마감: An 2020년 6월 8일
Dear Matlab/Simulink users,
I have a major problem, which I am unable to solve and it prevents proceeding my work.
Particularly, I need to work with timeseries data, which will be imported through Matlab (either to import variables to the workspace or try to do as separate file). However, the file type is not good enough to continue with it in the model.
I received an error message and don't know how to convert it:
  • Unable to load column vector data for Inport not configured with a function call output. Use one of these solutions: 1) To load the workspace data, use a different data format. 2) Configure the Inport to output a function call. 3) Turn off external input loading.
First, I need to use the each datapoint inside the if condition and then to use it as an input. It is shown here:
I specifically need the values of "uu" one by on and use its elements inside "if" comparison.
Do you have recommendation, how to work woth this?
  댓글 수: 3
An
An 2020년 6월 8일
Thank you for your answer. [t,uu] alone with just a scope works nicely, the output is a sinosoidal wave. But I guess the reason of the problem with model is that [t,uu] from the workspace is some kind of timeseries object and the if-condition does not how to deal with that because the condition needs to compare each element separately. With different Simulink signals and a constant my model works nicely but I need to work my personal input timeseries data where will be "uu" as timeseries points. Do you know how to do that?
An
An 2020년 6월 8일
I managed to solve the problem :)

답변 (0개)

이 질문은 마감되었습니다.

제품

Community Treasure Hunt

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

Start Hunting!

Translated by