list_info variable

Lists information about the variables’s in the current model.

Format:

 
list_info variable
variable_name =
Existing variable name
Brief =
on/off
Write_to_terminal =
on/off
File_name =
string

Example:

 
list_info variable &
variable_name =
DV_1 &
brief =
off &
write_to_terminal =
on &
file_name =
"C:\My Documents\my_file"
This will display the following information on the terminal as well as in the file “my_file”,
Object Name : .model_1.DV_1
Object Type : Variable
Parent Type : Model
String Value(s) : MyDesignVar
Comment String : None
Orig Value(s) : MyDesignVar
Dependents : None.
If brief is turned on then the dependant information will not be displayed.

Description:

 
Parameter
Value Type
Description
Variable_name
Existing variable name
Specify an existing variable whose information has to be listed.
Brief
On/off
Specify whether the variable information required is in brief or not.
Write_to_terminal
On/off
Specify whether the information has to be displayed on the terminal.
File_name
String
Specify filename in which the information needs to be written.

Tips:

1. Typing “?” after “file_name=” parameter will open the file browse window in Windows environment, making it easier to specify the file name.