Hi! I've got some trouble with using f2matlab. I need to convert a f90 source code into matlab code.In order to do this i type on matlab command window: >>f2matlab('filename.f90'); but matlab displays the following error: ??? Subscript indices must either be real positive integers or logicals. Error in ==> f2matlab at 130 if ~inastring_f(filestr(temp7(temp6(j)):temp7(temp6(i))),temp7(temp6(i))-temp7(temp6(j))+1) Does anybody know how to fix it?