Navigation

Operators and Keywords

Function List:

C++ API

savepath.m File Reference


Functions

 if (nargin==0) savefile
 if (exist(savefile)==2)[fid
if(fid< 0) error("savepath strrep (path_to_save_begin(1:n),"'","''")) endif if(!isempty(path_to_save_end)) n
 fprintf (fid," addpath ('%s', '-end');\n", strrep(path_to_save_end(1:n),"'","''")) endif fprintf(fid

Variables

function varargout
 beginstring = "## Begin savepath auto-created section, do not edit"
 endstring = "## End savepath auto-created section"
endif startline = 0
 endline = 0
 filelines = {}
 msg = fopen (savefile, "rt")
if(fid< 0) error("savepath n
s endstring for i
endfor unwind_protect_cleanup closeread = fclose (fid)

Function Documentation

fprintf ( fid  ,
" addpath ('%s', '-end');\n"  ,
strrep(path_to_save_end(1:n),"'","''")   
)

if ( exist(savefile)  = = 2  ) 

if ( nargin  = =0  ) 

if (fid < 0) error ("savepath strrep ( path_to_save_begin(1:n)  ,
"'"  ,
"''"   
)

Type Constraints


Variable Documentation

beginstring = "## Begin savepath auto-created section, do not edit"

endfor unwind_protect_cleanup closeread = fclose (fid)

endline = 0

endstring = "## End savepath auto-created section"

filelines = {}

Initial value:

 1:length (post)
      fprintf (fid, "%s\n", post{i})

msg = fopen (savefile, "rt")

s n

function varargout

Initial value:

 savepath (savefile)

  retval = 1