Skip to content

Commit

Permalink
Add comment about preallocateMATLABArray calls
Browse files Browse the repository at this point in the history
  • Loading branch information
sgilmore10 committed Sep 20, 2023
1 parent 9970083 commit 1600b8c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions matlab/src/matlab/+arrow/+type/StructType.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
validVariableNames = makeValidVariableNames(fieldNames);
validDimensionNames = makeValidDimensionNames(validVariableNames);

% Preallocates each table variable. Uses the child field types
% to construct the correct MATLAB type.
% Recursively call preallocateMATLABArray to handle
% preallocation of nested types
variableData = cell(1, numel(fields));
for ii = 1:numel(fields)
type = fields(ii).Type;
Expand Down

0 comments on commit 1600b8c

Please sign in to comment.