Recent content by cammo12

  1. C

    Fortran Fortran Structures: What Are They?

    Thanks for your help by the way :)
  2. C

    Fortran Fortran Structures: What Are They?

    So what is the point in this? Do I have to have structures? Can't I just use an array somehow?
  3. C

    Fortran Fortran Structures: What Are They?

    Hi - I expect this is quite a simple question. What are fortran structures? I'm trying to convert fortran code into MATLAB and I don't know what a structure / endstructure statement is. e.g. structure /pixel/ union map INTEGER*4 cl INTEGER*4 rw endmap map INTEGER*4 x INTEGER*4...
  4. C

    MATLAB Matlab problem - index out of bounds because numel(temp3)=0

    f2matlab http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=5260&objectType=file I have since emailed the author of the code and he has replied with a fix for the problem. but also said that my code contains structures which f2matlab cannot handle
  5. C

    MATLAB Matlab problem - index out of bounds because numel(temp3)=0

    temp3 = Empty matrix: 1-by-0 The code I am using has been tried and test by thousands of people - you can download from the MATLAB website. But for some reason I am getting this error with some of the code I am using.
  6. C

    MATLAB Matlab problem - index out of bounds because numel(temp3)=0

    neurocomp2003 - yes I have tried this and it is temp2=temp3(1)-1 that is the problem. print temp3 = 0. still trying to figure out why temp3 is zero... back to the code
  7. C

    MATLAB Matlab problem - index out of bounds because numel(temp3)=0

    It is throwing up the error on this line of code: temp3=temp3(temp3>temp4); temp2=temp3(1)-1; what does temp3(temp3>temp4) mean? Sorry about all these stupid questions :frown:
  8. C

    MATLAB Matlab problem - index out of bounds because numel(temp3)=0

    Thanks. It is strange because the program will work fine with some fortran code I have, but then not with other code. I just don't know why! Back to pulling my hair out...
  9. C

    MATLAB Matlab problem - index out of bounds because numel(temp3)=0

    Hi, I am using a Matlab program called f2matlab, which converts fortran 90 code to MATLAB code. But I keep on getting the following error: Attempted to access temp3(1); index out of bounds because numel(temp3)=0. Does anyone know what this error relates to? :rolleyes: Thanks in...
Back
Top