Simulink Reference    
gcs

Get the pathname of the current system.

Syntax

Description

gcs returns the full pathname of the current system.

The current system is one of these:

The current system is always the current model or a subsystem of the current model. Use bdroot to get the current model.

Examples

This example returns the path of the system that contains the most recently selected block.

See Also


  gcbh get_param