Skip to Main Content Skip to Search
Product Documentation

Simulink Functions and Variables - Create table that displays workspace variables and MATLAB functions used by reported blocks in Simulink models

Description

This component creates a table that displays workspace variables and MATLAB functions used by blocks in a Simulink model. The Model Loop component specifies the current model and systems in which the blocks appear. For example, suppose a Simulink Gain block has a string cos(x) instead of a number. The Simulink software looks for a variable x in the workspace and uses the cos function.

Functions

Variables

Example

This table is an example of a table created by the Model Variables component. This Property Table reports on the variables in the Controller in the F14 demo model.

Variable NameParent BlocksCalling StringValue

Ka

f14/Controller/Gain3

Ka

0.677

Kf

f14/Controller/Gain

Kf

-1.746

Ki

f14/Controller/Proportional plus integral compensator

[Ki]

-3.864

Kq

f14/Controller/Gain2

Kq

0.8156

Insert Anything into Report?

Yes. Table.

Class

rptgen_sl.csl_obj_fun_var

See Also

Block Loop, Model Loop, Signal Loop, System Loop

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS