Main Content
setTableCell
Class: Simulink.dialog.parameter.CustomTable
Namespace: Simulink.dialog.parameter
Set properties of custom table cell
Syntax
tableCell = tableControl.setTableCell([rowIdx colIdx],Type,customtable,Evaluate,off)
Description
sets the specified properties of a cell in a custom table.tableCell
= tableControl
.setTableCell([rowIdx
colIdx
],Type
,customtable
,Evaluate
,off
)
Input Arguments
Examples
% Get block mask handle. maskObj = Simulink.Mask.get(gcb); % Get custom table handle. tableControl = maskObj.getDialogControl('myTable'); % Set cell properties. tableControl.setTableCell([2 2], 'Type','edit','Value','1024');
Version History
Introduced in R2019a