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.

print

Class: simscape.logging.Node
Package: simscape.logging

Print complete logging tree of node object

Syntax

path_to_node.print

Description

path_to_node.print prints the complete logging tree starting with the specified node. path_to_node is a full identifier path to the node, starting with the workspace log variable name.

Examples

Consider the following model. The model name is simple_mech2, and data logging is enabled with the default workspace variable name, simlog.

Return the complete logging tree for the whole model:

simlog.print
     simple_mech2
     +-Ideal_Force_Source
     | +-C
     | | +-v
     | +-R
     | | +-v
     | +-S
     | +-f
     | +-v
     +-MTR
     | +-V
     | | +-v
     | +-f
     +-MTR1
     | +-V
     | | +-v
     | +-f
     +-Mass
     | +-M
     | | +-v
     | +-f
     +-Simulink_PS_Converter
     +-Translational_Damper
     | +-C
     | | +-v
     | +-R
     | | +-v
     | +-f
     | +-v
     +-Translational_Spring
       +-C
       | +-v
       +-R
       | +-v
       +-f
       +-v
       +-x

Print the logging tree just for the Mass block:

simlog.Mass.print
     Mass
     +-M
     | +-v
     +-f
Was this topic helpful?