Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

help:Regarding output window

Status
Not open for further replies.

austinpowers

Electrical
Oct 21, 2005
25
In my program i am doing lot of iterations, and i want to check all those values at the output window.

but i am only getting last part of my output in the output window for last iterations.

i dont know why i am not able to see first computed values
in the output window.

is there any value i have to set or any option to increase the ouput window area or something like that

can anyone help me with this
 
Replies continue below

Recommended for you

You can adjust the command window buffer size in the "preferences" section of the command window menu. Alternatively, write your results to an array or to a file.

M

--
Dr Michael F Platten
 
i tried saving workspace values into a file

by typing save filename at the workspace

so i got a mat file by that filename

but how to see that file contents

i am trying to open that mat file , i am not able to see its contents , when i click on that file its opening the matlab window again , not opening that file actually.

or is there any other way of doing this saving the output window results to a file.

let me know
 
"save" only saves data contained in variables. Have a look at the Matlab documentation for the "save" command.

% clear the workspace
clear
% create some variables
a = rand(10)
b = rand(20)
% list all the variables in the workspace
whos
% save the variables in a .mat file
save mydata a b
% clear the workspace
clear
% list all the variables in the workspace (none)
whos
% load the data from the .mat file into the workspace
load mydata
% list all the variables in the workspace
whos



M

--
Dr Michael F Platten
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor