Effacer les filtres
Effacer les filtres

xlswrite

5 vues (au cours des 30 derniers jours)
fcarl
fcarl le 20 Juil 2011
Hi,
I have a question regarding xlswrite in Matlab. The code I use is:
xlswrite(['path_dataname'], [1], 'A2').
So I only want to write an "1" in cell A2. All variants I test I get the "Too many input arguments" error. Can you help me about what is wrong with this?
Thank you very much!

Réponses (3)

Andrei Bobrov
Andrei Bobrov le 20 Juil 2011
xlswrite('path_dataname', 1,1, 'A2')

fcarl
fcarl le 20 Juil 2011
thanks for your answer. but it does not work either. without specifying 'A2' it writes the file. but isn`t it possible to give the range in the excel a1 code?

fcarl
fcarl le 20 Juil 2011
Problem solved. There was another xlswrite-function stored in a package i have imported to matlab :( stupid thing.
Thanks for your efforts!

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by