how do i access signal logging data

Respuestas (1)

Azzi Abdelmalek
Azzi Abdelmalek el 22 de Abr. de 2016

0 votos

Use to workspace block

2 comentarios

alan chewter
alan chewter el 23 de Abr. de 2016
a to workspace block is the original method to export signals individually to the workspace from the simulation. this is not my question. my question more specifically is how do i get data out of a class known as "Simulink.SimulationData.Dataset"
then you can read your selected data
h1=logsout.get(1) % for the first selected signnal
% the variable name is set by default, you can change it in parameter configuration
data1=h1.Values.Data
and so on

Iniciar sesión para comentar.

Categorías

Etiquetas

Preguntada:

el 22 de Abr. de 2016

Comentada:

el 23 de Abr. de 2016

Community Treasure Hunt

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

Start Hunting!

Translated by