

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


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');


Sheets = readxls('SCI/modules/spreadsheet/demos/xls/t1.xls'); s1=Sheets(1); //get the first sheet s1.value; //get the first sheet value field s1.text; //get the first sheet text field s1(2,:); //get the 2 row of the sheet disp(s1)
Login to add comment