Stream large .mat files to Simulink model

2 visualizaciones (últimos 30 días)
Advait Valluri
Advait Valluri el 15 de Jul. de 2020
Comentada: Advait Valluri el 15 de Jul. de 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 comentarios
Advait Valluri
Advait Valluri el 15 de Jul. de 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.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Simulink en Help Center y File Exchange.

Productos


Versión

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by