nlPrintModelName
nlPrintModelName(o_formattero_instance) => t / nil
Description
Prints the model name. The nlGetModelName for the instance is used for the model name.
Arguments
Value Returned
Examples
The following example prints the model name:
defmethod( nlPrintModelName ((formatter xyzFormatter) inst)
nlPrintString( nlGetNetlister( formatter ) " "
nlGetModelName( inst ))
)
=> t
If your simulator supports model name passing, you can use the function nlIsModelNameInherited and alter the formatting of the instance line for the scenario as per the requirements of your simulator.
Return to top