Main Content
getNumberOfRows
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Get the number of rows available in a custom table
Syntax
numberOfRows = tableControl.getNumberOfRows
Description
gets the number of rows in a custom table.numberOfRows
= tableControl
.getNumberOfRows
Output Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Get number of rows. numberOfRows = tableControl.getNumberOfRows;
Version History
Introduced in R2019a