I would like to generate a csv file with a header and some data. Since I am on a Mac, this does not work using csvwrite, so I need to use fprintf.
I am storing my headers in a cell array called header (header = 'AB' 'CB'). Whatever I am trying I get an error:
Error using fprintf
Function is not defined for 'cell' inputs.
Can somebody make an easy example with the header example?