How to read .SIE file in matlab ?

44 visualizzazioni (ultimi 30 giorni)
Viraj Sabane
Viraj Sabane il 17 Mar 2023
Commentato: Viraj Sabane il 29 Mar 2023
My data acquisition outputs a .SIE file. It is readable in softwares such as AVL Concerto. Unsure how to read it in Matlab.

Risposta accettata

Adithya
Adithya il 27 Mar 2023
Modificato: Adithya il 27 Mar 2023
First you have to convert .SIE file into excel as mentioned in this article - SIE to EXCEL.
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 Commenti
Alexander
Alexander il 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.
Viraj Sabane
Viraj Sabane il 29 Mar 2023
Thanks Alexander. I will try this, and post my solution (if I am able to figure it out).

Accedi per commentare.

Più risposte (0)

Categorie

Scopri di più su Data Export to MATLAB in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by