Quite new to Scilab so struggling a bit with this, I have data imported from an oscilloscope as a csv file, I need to manipulate this data so I’m importing it with csvRead() but when I do this it is treating the 3 columns of my data as 1 column so I cant index it to use specific columns. And I need these to be separate. I’ve noticed that if I open the data in excel first & save it then the csvRead function does separate them into problems but the issue is I won’t be able to open each data sheet in excel and save it each time on a large processing scale so I need a solution where it can open the file directly and see the separate columns rather than treating them as one column. I feel like there is a way using python to open the csv file in excel and then save and close it to then have csvRead to work but I have no idea how to implement this within scilab. If there is a fix to have the columns separate id appreciate that
my code is:
data = csvRead(filePath, ascii(9), ".", "string", [], [], [3 1 1202, 3]);
sequence = data(3:$, 1);
disp(sequence);
with my data this just shows the 3 columns as 1, anyone know a fix for them separate, idk if my parameters in csvRead are correct. I don’t know if the ascii is needed or not either, when I use [] instead of ascii it says csvRead cannot read the file.
matty22445 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.