gcs - Get pathname of current system

Syntax

gcs

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.

gcs
ans =
   clutch/Locked

See Also

bdroot, gcb

  


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