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

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?

More Answers (0)

Community Treasure Hunt

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

Start Hunting!