Skip to content

AFNI/NIfTI Server

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

Doxygen Source Code Documentation


GetNextLine.m File Reference

Go to the source code of this file.


Functions

 if (n<=Nlines)
 if (n==1)

Variables

 function [err, snl, Nlines, strt, stp]
of course Input Parameters
of course Input an empty string
is returned Nlines is the
total number of lines in s 
strt = 0
of course Input an empty string
is returned Nlines is the
total number of lines in s
stp are such that 
snl
Debug Flag DBG
initailize return variables err = 1
 stp = 0
 inl = find(setstr(s) == 10)
 Nlines = length(inl)
 return

Function Documentation

if n  = = 1  ) 
 

if n<=  Nlines  ) 
 


Variable Documentation

Debug Flag DBG
 

Initial value:

 GetNextLine(v,1)
%   [err,sn] = GetNextLine(v,4) etc
%   
%
%     Author : Ziad Saad
%     Date : Mon Oct 11 13:15:13 CDT 1999 


%Define the function name for easy referencing
FuncName = 'GetNextLine' 1

Definition at line 38 of file GetNextLine.m.

end err = 1
 

Definition at line 59 of file GetNextLine.m.

function[err, snl, Nlines, strt, stp]
 

Initial value:

 GetNextLine (s,n)
%
%   [err, snl, Nlines, strt, stp] = GetNextLine (s,n)
%
%Purpose:
%   reads the nth line of a string
%   lines are separated by a new line character

Definition at line 1 of file GetNextLine.m.

inl = find(setstr(s) == 10)
 

Definition at line 44 of file GetNextLine.m.

Nlines = length(inl)
 

Definition at line 46 of file GetNextLine.m.

of course Input Parameters
 

Definition at line 1 of file GetNextLine.m.

return
 

Definition at line 60 of file GetNextLine.m.

else snl
 

Initial value:

 s(strt:stp)  
%Key Terms:
%   
%More Info :
%   good for parins ls lists e.g:
%   [tm,v] = unix('ls -C1')

Definition at line 56 of file GetNextLine.m.

end stp = 0
 

Definition at line 53 of file GetNextLine.m.

Referenced by ncvarget(), ncvargetg(), ncvargets(), ncvarput(), ncvarputg(), ncvarputs(), set_upper(), and SUMA_Reposition_Touchup().

slices strt = 0
 

Definition at line 264 of file Read_1D.m.

Referenced by hilbertdelay_V2().

 

Powered by Plone

This site conforms to the following standards: