フィルターのクリア

Info

この質問は閉じられています。 編集または回答するには再度開いてください。

I have imported data into an workspace file. I have tried writng this to a xls file but keep gettign error.

1 回表示 (過去 30 日間)
Marian Kennedy
Marian Kennedy 2018 年 1 月 25 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I have imported data into an workspace file. I have tried writng this to a xls file but keep gettign error.
The error is:
'Error using xlswrite (line 172). Input data must be a numeric, cell or logical array.
filename = 'TBS020110NWear100cycle.xls';
workspace=TBS020110NWear100cycle;
xlswrite(filename,workspace,'1','A1');
I looked at the file and it all looks like data.
  4 件のコメント
Marian Kennedy
Marian Kennedy 2018 年 1 月 25 日
編集済み: Marian Kennedy 2018 年 1 月 25 日
Thank you.
I changed the variable as suggested:
filename = 'CETR1.xls'; worktofile=CETR1; xlswrite(filename,worktofile,'1','A1');
class(worktofile) is double
I can take the variable and save it as a new array and the issue disappears but I am not sure why.
Walter Roberson
Walter Roberson 2018 年 1 月 25 日
I am not sure whether the problem is still occurring when you are using worktofile ?

回答 (0 件)

この質問は閉じられています。

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by