Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

How I can save varibles to a file? For example, the variable test to the file data.data.

Asked by Teemu on 7 Feb 2013

How I can save varibles to a file? For example, the variable test to the file data.data.

2 Comments

Teemu on 7 Feb 2013

So the file where the variable should be saved is excel file.

Jan Simon on 7 Feb 2013

The OP deletes his questions frequently after he got an answer. This is a misusage of the forum and very annoying. He does not stop this although he has been informed that this conflicts with the nature of this forum. In consequence I do not answer his questions anymore.

[EDITED] To be correct: The OP has deleted all of his questions. I've send my opinion to the admins already.

Teemu

Tags

Products

No products are associated with this question.

1 Answer

Answer by Azzi Abdelmalek on 7 Feb 2013
Accepted answer
a=[1 2;3 4]
xlswrite('yourfile.xls',a)

0 Comments

Azzi Abdelmalek

Contact us