www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/ReturnPathNamesExample.m

    %% Return Path Names  
% Return the results of |which| to |str|.   

%% 
% Find the |orthog| function in a private folder. 
% You must use the function form of |which|, enclosing all arguments in
% parentheses and single quotes. 
str = which('private/orthog','-all');
whos str