Erreur (input arguments of type 'double'. )

statdidos -  
Char Snipeur Messages postés 10112 Date d'inscription   Statut Contributeur Dernière intervention   -
Bonjour,

j'ai un petit souci concernant mon programme a la commande suivant
pdag = learn_struct_pdag_pc('cond_indep', N, N-2,stress_binaire);
draw_graph(bnet.dag,names,carre_rond)

un erreur s'affiche :
?? Error using ==> feval
Undefined function or method 'cond_indep' for input arguments of type 'double'.

Error in ==> learn_struct_pdag_pc at 40
if feval(cond_indep, x, y, S, varargin{:})

Error in ==> stress_binaire3 at 86
pdag = learn_struct_pdag_pc('cond_indep', N, N-2,stress_binaire);

A voir également:

1 réponse

Char Snipeur Messages postés 10112 Date d'inscription   Statut Contributeur Dernière intervention   1 299
 
visiblement, tu ne passes pas le bon argument.
C'est quoi, du MATLAB ? Les fonctions que tu utilises sont standard ?
0