Come faccio a confrontare due strutture per l'uguaglianza in ottava (o matlab)?Octave/MATLAB: come confrontare le strutture per l'uguaglianza?
Il tentativo di utilizzare i rendimenti operatore ==:
binary operator `==' not implemented for `scalar struct' by `scalar struct' operations
@ user1131467: Se le strutture contengono 'NaN',' isequal' può restituire 'false' anche se consideriamo le strutture simili. Quindi, suggerisco di usare 'isequalwithequalnans' invece di' isequal'. – Jonas
@Jonas Questo è un buon punto. Ho modificato la risposta. – Pursuit
In R2012b usare ['isequaln'] (http://www.mathworks.com/help/matlab/ref/isequaln.html). –