How to read .SIE file in matlab ?

42 visualizaciones (últimos 30 días)
Viraj Sabane
Viraj Sabane el 17 de Mzo. de 2023
Comentada: Viraj Sabane el 29 de Mzo. de 2023
My data acquisition outputs a .SIE file. It is readable in softwares such as AVL Concerto. Unsure how to read it in Matlab.

Respuesta aceptada

Adithya
Adithya el 27 de Mzo. de 2023
Editada: Adithya el 27 de Mzo. de 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 comentarios
Alexander
Alexander el 29 de Mzo. de 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 el 29 de Mzo. de 2023
Thanks Alexander. I will try this, and post my solution (if I am able to figure it out).

Iniciar sesión para comentar.

Más respuestas (0)

Community Treasure Hunt

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

Start Hunting!

Translated by