I find that the code above produces a “1” x “5” cell array, each cell containing data organized in "lines" x "amount of characters specified in the format". I furthermore find that its content is in general accessible as:
MyCellArray{CellArrayRow,CellArrayColumn}(line,digits)
This syntax extracts all {content} from the cell array row and cell array column position, and from all that content then takes the data found in the amount of digits in the specified line.
BUT when in combination with any (line,digits) statement the CellArrayColumn adresses a range of cell columns, instead of a single cell column only, then a "Bad cell reference operation" error returns.
MyCellArray{1,:} % works
MyCellArray{1,4}(1,1) % works
MyCellArray{1,4}(1,:) % works
MyCellArray{1,:}(1,1) % does not work
That’s all just difficult to understand for a beginner. Any help about how to extract an individual line across all columns without losing the fixed-field columns is welcome! I would like to extract the line MyCellArray{1,:}(line,:) but it obviously is not allowed to do by this syntax.