フィルターのクリア

How to read .SIE file in matlab ?

40 ビュー (過去 30 日間)
Viraj Sabane
Viraj Sabane 2023 年 3 月 17 日
コメント済み: Viraj Sabane 2023 年 3 月 29 日
My data acquisition outputs a .SIE file. It is readable in softwares such as AVL Concerto. Unsure how to read it in Matlab.

採用された回答

Adithya
Adithya 2023 年 3 月 27 日
編集済み: Adithya 2023 年 3 月 27 日
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 件のコメント
Alexander
Alexander 2023 年 3 月 29 日
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 2023 年 3 月 29 日
Thanks Alexander. I will try this, and post my solution (if I am able to figure it out).

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeSpreadsheets についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by