- #1
cre_96
- 2
- 0
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?
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?