import data from mat file to simulink issue

2 ビュー (過去 30 日間)
Mustafa Al-Nasser
Mustafa Al-Nasser 2021 年 2 月 7 日
回答済み: Walter Roberson 2021 年 2 月 7 日
Dear All;
when i save data generated by matlab and save it in MAT file but when i load into simulink , i found it totally different data
how cani solve it without convert it to time series

採用された回答

Walter Roberson
Walter Roberson 2021 年 2 月 7 日
has some good suggestions.
Note that any time you import data but not as a time series, then it has to effectively be constant data, such as for a constant block or as initialization for a memory block.
If you are thinking in terms of "Well, first row the first time, second row the second time", then you are thinking of discrete simulation instead of continuous simulation, and if you are doing that, then you might as well do a timeseries in which the first column is the discrete step times.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSources についてさらに検索

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by