Undefined function or variable 'getFISCodeGenerationData'
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
kushal sharma
am 5 Feb. 2020
Kommentiert: José Denilson Herrera Salas
am 28 Dez. 2022
I am trying to perform a simulation which uses fuzzy approach, I created the fuzzy system using the fuzzy logic designer, and i'm using it in two places within a for loop which runs fro around 15k rounds, after applying the fuzzy logic the code only gives about 12 iterations per minute, So to increase the speed I read about ambedding the fuzzy code at " https://in.mathworks.com/help/fuzzy/generate-code-for-fuzzy-system-using-matlab-coder.html "
but when i use the command : fis = getFISCodeGenerationData(fisObject);
I get the error " Undefined function or variable 'getFISCodeGenerationData'" and
codegen('evaluatefis1','-args',{coder.Constant(fis),[0 0]},'-config:mex') gives an error of access denied, I am using windows 10 and Matlab 2018a.
Help would be greatly appreciated I dont want to sit at the PC for 15hrs straight for one run.
0 Kommentare
Akzeptierte Antwort
Darshan Ramakant Bhat
am 6 Feb. 2020
From the below documentation is see that the function "getFISCodeGenerationData" is supported from R2018b (release is mentioned at the bottom of the page):
The second error may be related to the first one or else you may be trying the codegen command in a un-writable directory.
6 Kommentare
José Denilson Herrera Salas
am 28 Dez. 2022
Hola Darshan, yo también tengo problemas con "Undefined function or variable 'getFISCodeGenerationData' para un sistema de lógica difusa. Por favor, podrías explicarme los pasos para superar este problema. Soy de Perú y este es mi correo: denilherrera@gmail.com
Gracias de antemano
José Denilson Herrera Salas
am 28 Dez. 2022
Es cuando uso "fis = getFISCodeGenerationData(fisObject)"
Weitere Antworten (1)
kushal sharma
am 12 Feb. 2020
1 Kommentar
José Denilson Herrera Salas
am 28 Dez. 2022
Hola kushal, yo también tengo problemas con "Undefined function or variable 'getFISCodeGenerationData' para un sistema de lógica difusa. Por favor, podrías explicarme el paso a paso que realizaste para superar este problema con la recomendación Darshan. Soy de Perú y este es mi cel +51 934 996 612 y este es mi correo
denilherrera@gmail.com
Gracias de antemano
Siehe auch
Kategorien
Mehr zu Fuzzy Logic Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!