Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

who

Class: sdo.SimulationTest
Package: sdo

List logged data names

Syntax

names = who(sim_obj)

Description

names = who(sim_obj) returns a list of logged data names.

Input Arguments

sim_obj

sdo.SimulationTest object

Output Arguments

names

Cell array of logged data set names.

Examples

List logged data set names.

Log model signals.

Pressures = Simulink.SimulationData.SignalLoggingInfo;
Pressures.BlockPath       = 'sdoHydraulicCylinder/Cylinder Assembly';
Pressures.OutputPortIndex = 1;

Store logged signal data.

simulator = sdo.SimulationTest('sdoHydraulicCylinder');
simulator.LoggingInfo.Signals = Pressures;
simulator = sim(simulator);

Find logged data sets.

names = who(simulator);
Was this topic helpful?