Error on exporting data to excel sheet from script.

1 visualizzazione (ultimi 30 giorni)
Ishaan
Ishaan il 15 Apr 2014
Risposto: Image Analyst il 15 Apr 2014
The following statement when executed on the Matlab terminal works fine but gives a
Undefined function 'writetable' for input arguments of type 'double' error
when written in a script :
writetable(ans,filename,'Sheet',1,'Range','B2:G514')

Risposte (1)

Image Analyst
Image Analyst il 15 Apr 2014
You probably do not have release R2013b or later, when that function was introduced. What does "which writetable" say?

Categorie

Scopri di più su Workspace Variables and MAT-Files in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by