필터 지우기
필터 지우기

Why mamfistype2 function is undefined?

조회 수: 2 (최근 30일)
muhammad muda
muhammad muda 2020년 3월 20일
답변: Mohamed Elshami 2023년 3월 6일
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]

채택된 답변

Ameer Hamza
Ameer Hamza 2020년 3월 20일
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
Steven Lord
Steven Lord 2020년 3월 20일
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.
muhammad muda
muhammad muda 2020년 3월 20일
OK now I understand. Thank you for the answer.

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Mohamed Elshami
Mohamed Elshami 2023년 3월 6일
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

카테고리

Help CenterFile Exchange에서 Fuzzy Logic in Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by