Read excel file 2013 in Matlab 2010a

2 ビュー (過去 30 日間)
Joao
Joao 2013 年 9 月 30 日
コメント済み: dpb 2013 年 9 月 30 日
Hello everyone, I have matlab version 2010a, can i read an excel file version 2013?
  3 件のコメント
Joao
Joao 2013 年 9 月 30 日
yes i tried.
This is the error:
Error in ==> prodi_teste_vs9>listbox8_Callback at 837 matrix_pasta3=xlsread('C:\Users\PC\Desktop\program matlab\Pasta3.xlsx');
My code is:
matrix_pasta3=xlsread('C:\Users\PC\Desktop\program matlab\Pasta3.xlsx');
I tried using "xls" but its the same
matrix_pasta3=xlsread('C:\Users\PC\Desktop\program matlab\Pasta3.xls');
I will test with Matlab 2013
dpb
dpb 2013 年 9 月 30 日
Well, guess it's not too surprising; MS isn't noted for worrying about backward compatibility much, either. :(
Try saving the file w/ earlier version ('xls' instead of 'xlsx') instead if you need to stay with earlier ML release.
Not sure if any of the addons one can download from MS to read later versions inside Excel are sufficiently enabling for the Matlab stuff to then automagically work thru them or not--probably not, but can't hurt to try.

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

回答 (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