[exp_data1,~,~]= xlsread('../Experimental_Data/DBDA_Prediction.xlsx','-16','A2:E242')
[exp_data2,~,~]= xlsread('../Experimental_Data/DBDA_Prediction.xlsx','-16','F2:G242'); %temperature
T_data = spline(exp_data2(:,1),exp_data2(:,2),exp_data1(:,1)); %time-temperature matching

8 件のコメント

madhan ravi
madhan ravi 2018 年 11 月 14 日
upload your excel file
Edmund Sam-Gyandoh
Edmund Sam-Gyandoh 2018 年 11 月 14 日
i have uploaded the excel file
madhan ravi
madhan ravi 2018 年 11 月 14 日
No you have not.
Edmund Sam-Gyandoh
Edmund Sam-Gyandoh 2018 年 11 月 14 日
attached
Star Strider
Star Strider 2018 年 11 月 14 日
The code you posted, with the file you attached (‘A.xlsx’), runs for me without error in R2018b.
Edmund Sam-Gyandoh
Edmund Sam-Gyandoh 2018 年 11 月 14 日
im using 2018a, is that the reason?
madhan ravi
madhan ravi 2018 年 11 月 14 日
works for me too 2018b
Edmund Sam-Gyandoh
Edmund Sam-Gyandoh 2018 年 11 月 14 日
i guess i have to install 2018b then...is that the solution?

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

 採用された回答

madhan ravi
madhan ravi 2018 年 11 月 14 日
編集済み: madhan ravi 2018 年 11 月 14 日

0 投票

Just try upgrading to 2018b and see if it works , so it might be the solution then.
Also make sure ../Experimental_Data/DBDA_Prediction.xlsx the path you are mentioning contains the file that you mention which is essential for reading a file.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMatrix Indexing についてさらに検索

製品

リリース

R2018a

質問済み:

2018 年 11 月 14 日

編集済み:

2018 年 11 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by