フィルターのクリア

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