From: Sanketh on
Hi Gaurav,
You can probably try this work around:
Save all the variables in you function to the current directory as a .mat file and then load the .mat file from the base using evalin. For example:

function [ output_args ] = yourfunction( inputfilename )
%
%Codes where your variables are generated
%
save('tempmatfile.mat');%Save the variables in the function as a .mat file.
evalin('caller','load(''tempmatfile.mat'')');%Load the .mat file in base
delete('tempmatfile.mat');%Delete the temporary .mat file
 | 
Pages: 1
Prev: mex and intel compiler
Next: Plotting of graph