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

2 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Azzi Abdelmalek
Azzi Abdelmalek il 15 Mag 2013
Modificato: Azzi Abdelmalek il 15 Mag 2013
If your matrix is A
assignin('base','A',A);

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by