0
Is it possible to input values from Excel directly into scilab?

I'm working on a signal processing project, the issue with simply copy pasting values is that there are too many values, about 800,000 values in total, copy pasting these values causes the software to freeze up. Thanks a lot for any help.


Scilab 03-11-19, 9:24 a.m. UltraEvilBob
0

You may save the Excel file as a CSV file. Then, using scilabfunction csvRead(), read that CSV file into an array. Assuming that you want to read a double array from the file named data.csv, here will be the code:

M = csvRead('data.csv', ',', '.', 'double');

or

M = csvRead('data.csv', [], [], 'double');

 

28-11-19, 3:19 p.m. sunilshetye


Log-in to answer to this question.