Reset reading from .mat file

8 ビュー (過去 30 日間)
Luca Santini
Luca Santini 2018 年 10 月 9 日
編集済み: Luca Santini 2018 年 10 月 14 日
Hi everyone, I'm Luca and I have a problem with a model in Simulink. I'm using a From File block to loading a motion law in my model (motion law is made with Matlab function and sampled with ts=0.00025, saved in prova_ldm.mat). I set the simulation time the same as the period of the motion law and everything works well; when the loading is finished there's the possibility to maintain the previous value or ground value. Sometimes during the simulation I need to "restart" the From File block in order to obtain the data (starting from time=0 seconds) from prova_ldm.mat file. How can I do to obtain this?
P.S: I'll use this model with Simulink Real Time.
Thank you so much,
Luca

回答 (2 件)

Luca Santini
Luca Santini 2018 年 10 月 11 日
up

Luca Santini
Luca Santini 2018 年 10 月 14 日
編集済み: Luca Santini 2018 年 10 月 14 日
None can help me?

カテゴリ

Help Center および File ExchangeTarget Computer Setup についてさらに検索

製品


リリース

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by