I have this error Index in position 1 exceeds array bounds.
    1 Ansicht (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
    Rigo ZOO
 am 25 Aug. 2022
  
    
    
    
    
    Kommentiert: Rigo ZOO
 am 25 Aug. 2022
            I have a script, when I run it, I have the eabove error:
Index in position 1 exceeds array bounds.
Error in BEM (line 245)
            angle=foilarray{airfoil,1}(aoacounter,1); 
 (Line 245 is this one)  ----> angle=foilarray{airfoil,1}(aoacounter,1); 
I read solution regarding this topic but no answer was helpful
6 Kommentare
  Walter Roberson
      
      
 am 25 Aug. 2022
				We do not have your input files, and we do not know what parameters you are calling the function with.
Akzeptierte Antwort
  Walter Roberson
      
      
 am 25 Aug. 2022
        Every one of your .dat files have text headers on them, but in every case you are using textscan() with %f format and no Headerlines
For those files, you should be using 
'HeaderLines', 53
4 Kommentare
Weitere Antworten (1)
Siehe auch
Kategorien
				Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


