Skip to content

AFNI/NIfTI Server

Sections
Personal tools
You are here: Home » AFNI » Documentation

Doxygen Source Code Documentation


pad_strn.m File Reference

Go to the source code of this file.


Functions

 while (length(S)< n) if(loc
 elseif (loc==-1)

Variables

function S
function err = ErrEval(mfilename, 'Err_First two arguments must be characters')
 return
end end

Function Documentation

elseif loc  = = -1  ) 
 

while  ) 
 


Variable Documentation

end end
 

Definition at line 24 of file pad_strn.m.

function err = ErrEval(mfilename, 'Err_First two arguments must be characters')
 

Definition at line 10 of file pad_strn.m.

return
 

Definition at line 26 of file pad_strn.m.

S
 

Initial value:

 pad_strn (strg,padchar,n,loc)
%       S = PAD_STRN (strg,padchar,n,loc)
%This function pad the string 'strg' with 'padchar' characters
%  such that 'S' is 'n' characters long.
% if loc = 1 the 'padchar' are added to the left of 'strg'
% if loc = -1 the 'padchar' are added to the right of 'strg'


if (~ischar(strg) | ~ischar(padchar))

Definition at line 21 of file pad_strn.m.

 

Powered by Plone

This site conforms to the following standards: