Reference to non-existent field
Bonjour,
j'ai fait une fonction matlab, qui marche très bien lorsque je l'execute depuis matlab.
Lorsque je passe sous GUI, je met dans le callback d'un bouton :
Code:
1 2 3 4 5 6 7
| p = path
addpath('etapes/step2') ;
[I rate ctr] = mafonction(picture);
%rmpath('etapes/step2') ;
setappdata(gcf,'score',rate);
[m n] = size(score);
result = 1; |
et j'obtient l'erreur :
Code:
1 2
|
Reference to non-existent field 'theta'. |
theta étant une variable interne à mafonction ...
Une idée ?
Merci,
Dud