gclh - get handle of current line

gcbl returns the handle/handles of the current line in the current system.

You are now following this Submission

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Name : gclh.m
% Author : Pruthvi Raj G
% Version : Version 1.0
% Input : Any Simulink Model.
% Date : 20-January-2019 07:41:00
% Updates : 1. Gives Line handles for the selected line.
% 2. If multiple lines are tapped to the single line the
% handles are stored in array.
%
% Examples : 1. Line = gclh
% Output : Line = 3.0780e+03
% 2. Lines = gclh
% Output: Lines =
%
% 1.0e+03 *
%
% 3.1050
% 3.1040
% 3.1030
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Cite As

Pruthvi G (2026). gclh - get handle of current line (https://au.mathworks.com/matlabcentral/fileexchange/70643-gclh-get-handle-of-current-line), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2011b to R2018b

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0