Stream large .mat files to Simulink model

2 visualizzazioni (ultimi 30 giorni)
Advait Valluri
Advait Valluri il 15 Lug 2020
Commentato: Advait Valluri il 15 Lug 2020
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 Commenti
Advait Valluri
Advait Valluri il 15 Lug 2020
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.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Simulink in Help Center e File Exchange

Prodotti


Release

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by