Why do I receive an error when opening the Membership Function window in the Fuzzy Logic Toolbox?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I am using the Fuzzy-Logic Toolbox version 2.1.1 (R12.1). When I try to open the MFEDIT window by going to 'Edit --> Add MF's...' in the Membership Functions Editor window, I receive the following errors:
??? Undefined function or variable 'centerfig'.
Error in ==> D:\MATLAB6p1\toolbox\fuzzy\fuzzy\mfdlg.m
On line 53 ==> centerfig(figNumber, oldFigNumber);
Error in ==> D:\MATLAB6p1\toolbox\fuzzy\fuzzy\mfedit.m
On line 1292 ==> mfdlg(figNumber,fis,varType,varIndex);
??? Error while evaluating uimenu Callback.
I also receive the above error when trying to open the GUI using the 'mfedit' command.
Akzeptierte Antwort
MathWorks Support Team
am 27 Jun. 2009
This has been fixed the Fuzzy Logic Toolbox 2.1.2 (R13).
To fix this problem in version 2.1.1, you will need to remove the following lines:
- line 53 in mfdlg.m:
centerfig(figNumber, oldFigNumber);
- line 59 in wsdlg.m:
centerfig(figHandle,figNumber);
- line 57 in cmfdlg.m:
centerfig(figNumber,MainFigHndl);
These three files can be found in the following directory:
$MATLAB\toolbox\fuzzy\fuzzy\
where $MATLAB refers to your root MATLAB directory.
Removing these lines will in no way affect the functionality of the toolbox.
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fuzzy Inference System Modeling finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!