residue error message
    2 Ansichten (letzte 30 Tage)
  
       Ältere Kommentare anzeigen
    
Hi,
I'm try to use residue function, I get the following error message
[R,P,K] = residue(M.b,M.f); Attempt to reference field of non-structure array. Error in rfdemo (line 171) [R,P,K] = residue(M.b,M.f);
1 Kommentar
Akzeptierte Antwort
  Image Analyst
      
      
 am 3 Jun. 2012
        Set a breakpoint there at that line (learn how to use the debugger if you don't know already). Then, when it stops, type M in the command window and hit enter. See what it says. If M is a structure, it will list something like this:
M = 
    b: 10
    f: 'c:\abcdef'
If you see something else (which you probably will), then M is not a structure and you can't do things like M.b and M.f.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
				Mehr zu Matrix Indexing finden Sie in Help Center und File Exchange
			
	Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


