Matrix output from function without showing sata of the matrix in the command Window

1 view (last 30 days)
I have created a function that reads data from a file and creates a matrix. I would like to store the matrix to the workspace but I am finding it annoying that data of the matrix are displayed in the command window.
How can I avoid that?

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 15 May 2013
Edited: Azzi Abdelmalek on 15 May 2013
If your matrix is A
assignin('base','A',A);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!