How to load 2D array from a text(csv) file into Octave?
问题 Consider the following text(csv) file: 1, Some text 2, More text 3, Text with comma, more text How to load the data into a 2D array in Octave? The number can go into the first column, and all text to the right of the first comma (including other commas) goes into the second text column. If necessary, I can replace the first comma with a different delimiter character. 回答1: AFAIK you cannot put stings of different size into an array. You need to create a so called cell array. A possible way to