Dataset-File out of built (.exe) Simulink-simulation

1 visualización (últimos 30 días)
AL
AL el 10 de Nov. de 2016
Respondida: Hari Desanur el 14 de Nov. de 2016
Hello everyone, I want my logged signals to be exported as Dataset in a .mat-File.
This is no problem with running the simulation in simulink normally. But, if I compile (Generic Real-Time Target) and run the .exe, no .mat-file with the dataset is being written. Is there any way to enable or achieve this?
Getting a .mat-File with an Array out of a "to File"-block in Simulink works with a built model. But I would very much like to have it as dataset because it offers some advantages for my further data process in Matlab.
Thanks for your help,
AL

Respuesta aceptada

Hari Desanur
Hari Desanur el 14 de Nov. de 2016
Currently MAT File logging from a binary is supported only for the 'Array', 'Structure' and 'Structure with time' formats.
You can log data in the 'DataSet' format to a MAT file during simulation but this will currently not work for any particular System Target during code generation.

Más respuestas (0)

Categorías

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

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by