Code covered by the BSD License  

Highlights from
f2matlab

f2matlab

by

 

16 Jun 2004 (Updated )

Converts basic fortran90 source code to MATLAB source code.

localVar=remLocalVar(localVar,name)
function localVar=remLocalVar(localVar,name)
%removes a localVar unless protected

t1=strcmp(name,{localVar{:,1}});
thisLV=find(t1);
notThisLV=find(~t1);
if ~isempty(thisLV)
 if isempty(localVar{thisLV,8})
  localVar=localVar(notThisLV,:);
 end
end

%'[[[[[[[[[[2323232',localVar,kb

Contact us