print array in an excel file and in two separate columns

Réponses (1)

Try:
xlswrite('test.xlsx',n)

2 commentaires

Actually, I tried this but doesn't work. I get following error msg:
Warning: Unable to write to Excel format, attempting to write file to csv format. To write to an Excel file, convert your data to a table and use writetable.
My answer assumes n is a workspace variable. Make sure you see n as a numerical matrix in the workspace.

Connectez-vous pour commenter.

Catégories

Question posée :

le 24 Sep 2018

Commenté :

le 24 Sep 2018

Community Treasure Hunt

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

Start Hunting!

Translated by