Stream large .mat files to Simulink model

2 ビュー (過去 30 日間)
Advait Valluri
Advait Valluri 2020 年 7 月 15 日
コメント済み: Advait Valluri 2020 年 7 月 15 日
Dear community,
I have a huge data dump of many .mat files which are measurements from a vehicle bus. Each file contains many variables representing various bus signals as double vectors. Loading the .mat files into memory is not an option because they are huge and would result in a Out_of_Memory error.
Is there a possibility to stream certain signals from these files which are used as inports in a Simulink model? I went through the documentation and found some solutions for simulating with big data but nothing seems to work for my application.
Thank you
  2 件のコメント
madhan ravi
madhan ravi 2020 年 7 月 15 日
Advait Valluri
Advait Valluri 2020 年 7 月 15 日
Yes I did but this can only store one file without loading into memory right? What if I want to load a set of files one after the other? I found something called Simulink.SimulationData.Dataset and Simulink.SimulationData.DatasetRef. There is no working example however which points to using .mat files with double vectors.

サインインしてコメントする。

回答 (0 件)

カテゴリ

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

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by