Navigation

Operators and Keywords

Function List:

C++ API

deblank.m File Reference


Functions

 if (char_arg||isnumeric(s)) if(!isempty(s)) if(char_arg) k
else warning ("deblank: expecting character string argument") k
endif if (isempty(k)) s
endif endif elseif (iscell(s)) s
else error ("deblank: expecting character string argument")
endif endfunction !assert (strcmp(deblank(" f o o ")," f o o"))
 !assert (deblank([]),[])%!assert(deblank(
!error deblank ("foo","bar")

Variables

function s
endif char_arg = ischar (s)

Function Documentation

!assert ( deblank([])   ) 

endif endfunction !assert ( strcmp(deblank(" f o o ")," f o o")   ) 

!error deblank ( "foo"  ,
"bar"   
)

endif endif elseif ( iscell(s)   ) 

else error ( "deblank: expecting character string argument"   ) 

endif if ( isempty(k  ) 

if ( char_arg||  isnumerics  ) 

else warning ( "deblank: expecting character string argument"   ) 


Variable Documentation

endif char_arg = ischar (s)

else s

Initial value:

 deblank (s)

  if (nargin != 1)
    print_usage ()