Main Content
getTableCell
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Get the properties of a custom table cell
Syntax
tableCell = tableControl.getTableCell([rowIdx colIdx])
Description
gets the properties of a cell in a custom table.tableCell
= tableControl
.getTableCell([rowIdx
colIdx
])
Input Arguments
Output Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Get cell properties. tableCell = tableControl.getTableCell( [2 2] );
tableCell = CustomTableParamCellObject with properties: Value: 'Inherit' Type: 'popup' Enabled: 'off' TypeOptions: {4×1 cell} tableCell.Value = 'Value'
Version History
Introduced in R2019a