- Instead of csvimport, you may use “readtable” function to import data from a CSV file into MATLAB. The “readtable” function automatically detects the header and the number of lines to skip.
- Alternatively, you can specify the number of lines to skip using:
- You can use brace indexing to access the content of the "answer" variable. For instance the following syntax returns the content of the "Parameter" field