| Simulink® | ![]() |
path=getfullname(handle)
path=getfullname(handle) returns the full pathname of the block or line specified by handle.
getfullname(gcb) returns the pathname of the block currently selected in the model editor's window.
The following code returns the pathname of the line currently selected in the model editor's window.
line = find_system(gcs, 'SearchDepth', 1, 'FindAll', 'on', ...
'Type', 'line', 'Selected', 'on');
path = getfullname(line);![]() | getConfigSets | legacy_code | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |