using the matlab function of dlmwrite

hi, i am using the matlab to write a programme to export the data from matlab to text files as the example: A=[1 2 3 4; 5 6 7 8]; dlmwrite ('my_data.txt',A); however, it doesn't work ...

3 Comments

Hi Pui,
what is the error message?
I just copy and paste your code and I received a my_data.txt in my working folder.
This should work fine! Ensure that you have write permissions on the current folder
thank you for your help, i will try it again~

Sign in to comment.

Answers (0)

Tags

Asked:

on 16 Jun 2011

Community Treasure Hunt

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

Start Hunting!