Why mamfistype2 function is undefined?
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
muhammad muda
am 20 Mär. 2020
Beantwortet: Mohamed Elshami
am 6 Mär. 2023
I run the function mamfistype2 according to https://uk.mathworks.com/help/fuzzy/mamfistype2.html.
fis = mamfistype2;
But this is what I get:
'Undefined function or variable 'mamfistype2'.
Does anyone know why this happen?
[SL: fixed hyperlink by removing trailing period]
0 Kommentare
Akzeptierte Antwort
Ameer Hamza
am 20 Mär. 2020
function mamfistype2 requires the Fuzzy Logic Toolbox. Run the following lines to check if the toolbox is installed
ver fuzzy
If you get the follow output, then you need to install the toolbox
Warning: No properly formatted Contents.m file was found for 'fuzzy'.
3 Kommentare
Steven Lord
am 20 Mär. 2020
Fuzzy Logic Toolbox not being installed is one reason this class may not be available. It was introduced in release R2019b according to the note at the end of its documentation page, so if the user has an older release installed that would also explain why it is not available.
Weitere Antworten (1)
Mohamed Elshami
am 6 Mär. 2023
releases before 2018 can not complie this command, former vesrsions used (newfis) to define a fuzzy system
read (vesion history) section at this link:
https://www.mathworks.com/help/fuzzy/newfis.html#mw_621232f3-e902-4cf4-b743-b69462696008
0 Kommentare
Siehe auch
Kategorien
Mehr zu Fuzzy Logic in Simulink 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!