フィルターのクリア

how will we convert xls files into mat files please help me

8 ビュー (過去 30 日間)
varunesh
varunesh 2013 年 9 月 4 日
コメント済み: arun anoop m 2020 年 7 月 27 日
how will we convert xls files into mat files? please help me
  1 件のコメント
Image Analyst
Image Analyst 2014 年 4 月 20 日
Original question in case varunesh deletes it:
how will we convert xls files into mat files? please help me

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

採用された回答

kei hin
kei hin 2013 年 9 月 4 日
Try this
file = dir('*.xl*'); %dir excel
filename = file.name; %filename_excel
excel_path = [pwd, '\', filename]; %get the path of the excel
[ndata, headertext] = xlsread(excel_path); %read the data from the excel
save('a.mat','ndata'); %save to a.mat
  1 件のコメント
arun anoop m
arun anoop m 2020 年 7 月 27 日
No sir , it wont work. Whichever XLS file u convert,
just try
whos -file filename.mat
you can see both filename.xls and filename.mat not same.
Better goto MATLAB. Go to workspace. Click on that . RIght corner down arrow, then click 'new'. And fill features values. And save workspace. It give filename.mat file.

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

その他の回答 (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