Problem using the Fuzzy Logic Toolbox

7 visualizaciones (últimos 30 días)
Trevor
Trevor el 28 de Sept. de 2011
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?

Respuestas (3)

Walter Roberson
Walter Roberson el 28 de Sept. de 2011
Does it name the function that does not exist? Could you show us the traceback?

Trevor
Trevor el 28 de Sept. de 2011
No, it doesn't name the function. I have determined that it is a problem with evalfismex though, as I have put a breakpoint there and as soon as I try to step into it, that error comes up.
I'm not sure what you mean by the traceback though. Can you clarify?
  4 comentarios
Walter Roberson
Walter Roberson el 29 de Sept. de 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
Trevor el 29 de Sept. de 2011
I tried recompiling the .mexw64 file, but it doesn't find a compiler that I can use. Unfortunately, I'm remotely accessing the program from my university, so I can't even really install one.
Thanks for all your help, I'll see what TMW support can do for me.

Iniciar sesión para comentar.


Aleksandar Mihaylov
Aleksandar Mihaylov el 22 de Nov. de 2012
Editada: Aleksandar Mihaylov el 22 de Nov. de 2012
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]);

Categorías

Más información sobre Fuzzy Logic in Simulink en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by