Filter löschen
Filter löschen

How to read .SIE file in matlab ?

40 Ansichten (letzte 30 Tage)
Viraj Sabane
Viraj Sabane am 17 Mär. 2023
Kommentiert: Viraj Sabane am 29 Mär. 2023
My data acquisition outputs a .SIE file. It is readable in softwares such as AVL Concerto. Unsure how to read it in Matlab.

Akzeptierte Antwort

Adithya
Adithya am 27 Mär. 2023
Bearbeitet: Adithya am 27 Mär. 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 Kommentare
Alexander
Alexander am 29 Mär. 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 am 29 Mär. 2023
Thanks Alexander. I will try this, and post my solution (if I am able to figure it out).

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by