Problem using the Fuzzy Logic Toolbox
7 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
回答(3 个)
Walter Roberson
2011-9-28
Does it name the function that does not exist? Could you show us the traceback?
0 个评论
Trevor
2011-9-28
4 个评论
Walter Roberson
2011-9-29
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.
Aleksandar Mihaylov
2012-11-22
编辑:Aleksandar Mihaylov
2012-11-22
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]);
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic in Simulink 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!