MATLAB: How to save multiple variables from the workspace as a .out file

extensionsoutsavevariables

Basically I need to save a couple specific variables(matrices) from the workspace into a .out file. I've tried the save function but this is what happens ( http://gyazo.com/ff01c99fb76da88b3dab5653d7a8b8f6 ).
How can I make so it is readable? Thanks in advance

Best Answer

X = rand(10);
Y = ones(3);
dlmwrite('data.out', X);
dlmwrite('data.out', Y, '-append')