Problem using the Fuzzy Logic Toolbox
Mostra commenti meno recenti
I'm trying to use the Fuzzy Logic Toolbox, and I'm having some troubles that I have no idea how to get around. I use the evalfis function which runs ok until it calls evalfismex.
From this point, it says "MATLAB function '' does not exist!"
Any thoughts?
Risposte (3)
Walter Roberson
il 28 Set 2011
0 voti
Does it name the function that does not exist? Could you show us the traceback?
Trevor
il 28 Set 2011
0 voti
4 Commenti
Walter Roberson
il 28 Set 2011
I see now the '' in the middle of the error message, in the place the function name would go.
Try
which -all evalfismex
and see if it comes up with something. If it doesn't, then I would expect a complaint about evalfismex not existing. If it does come up with something, then either that evalfismex is corrupted or else it calls back to something that isn't defined for some reason.
It appears that the source code for evalfismex is included as toolbox\fuzzy\fuzzy\src\evalfismex.c
(reference: http://www.mathworks.com/matlabcentral/newsreader/view_thread/139525 )
Trevor
il 29 Set 2011
Walter Roberson
il 29 Set 2011
There is no real discrepancy there: the name I gave earlier was for the C source. With the C source, in theory you should be able to rebuild the .mexw64 -- though you might want to take a look at it and see if it appears to have any calls back to the MATLAB engine (if so then if one of the routines it needs does not exist then rebuilding it would not help.)
I would suggest you toss this over to TMW support as they have access to the bug database.
Trevor
il 29 Set 2011
Aleksandar Mihaylov
il 22 Nov 2012
Modificato: Aleksandar Mihaylov
il 22 Nov 2012
0 voti
I know this is an old post, but the problem has a simple solution: Make sure that ALL membership functions, along with the methods for and, or, defuzz, implication and aggregation are assigned using single quotes: i.e. 'prod' not prod. Further: Right: fis = addmf(fis, 'input', 1, '1st ls', 'gaussmf', [0.5 -4]); Wrong: fis = addmf(fis, 'input', 1, '1st ls', gaussmf, [0.5 -4]);
Categorie
Scopri di più su Fuzzy Logic in Simulink in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!