How to read .SIE file in matlab ?
42 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
My data acquisition outputs a .SIE file. It is readable in softwares such as AVL Concerto. Unsure how to read it in Matlab.
0 commentaires
Réponse acceptée
Adithya
le 27 Mar 2023
Modifié(e) : Adithya
le 27 Mar 2023
Then to load an Excel file into MATLAB, you can use the xlsread function. Here is an example code that demonstrates how to use xlsread:
% define the file path and name
filename = 'your_file.xlsx';
% read the data from the Excel file
[data, headers] = xlsread(filename);
% access the data and headers
disp(data)
disp(headers)
In this example, you should replace "your_file.xlsx" with the actual name of your Excel file. The xlsread function reads the numeric data from the Excel file and returns it as a matrix. The second output argument headers returns the cell array of strings containing the column headers from the Excel file.
Note that xlsread can only read data from the first worksheet in an Excel file. If your data is in a different worksheet, you will need to specify the worksheet name or index as an additional input argument to xlsread. You can find more information on the syntax and usage of xlsread in this MATLAB documentation.
4 commentaires
Alexander
le 29 Mar 2023
I'm not sure if the .sie file mentioned in the link above is really the same format AVL is able to read in. If so, it is a standardized file format and you should look to the standard to make your own importing program. Other method would be to look in the exel file (SIE TO EXCEL). There is a macro to read a .sie file and maybe it is not too difficult to port V'BA to Matlab. Much success.
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Data Export to MATLAB dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!