필터 지우기
필터 지우기

Error in Error in 'HPW/HPW/VSC1 Control/Current Regulator/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller': Failed to evaluate mask initialization commands. Ca

조회 수: 5 (최근 30일)
  댓글 수: 1
Walter Roberson
Walter Roberson 2024년 1월 14일
편집: Walter Roberson 2024년 1월 14일
I get a different error:
Error evaluating parameter 'fismatrix' in 'HPW/HPW/VSC1 Control/Current Regulator/Fuzzy Logic Controller with Ruleviewer'
Caused by:
Unrecognized function or variable 'ig'.
Variable 'ig' does not exist.
I also get two warnings,
Warning: The image file in 'image' drawing commands in block 'HPW/HPW' cannot be found on MATLAB path or has an invalid path.

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

답변 (1개)

Sam Chak
Sam Chak 2024년 1월 15일
You haven't provided the FIS file for testing. Nonetheless, I generated a dummy FIS file named 'ig.fis' and stored it in the same folder as the Simulink file 'HPW.slx.' In the Simulink model, I replaced the Ruleviewer block with the standard Fuzzy Logic Controller block. If you enter the FIS name as indicated correctly, you should be able to run the Simulink, although there might be some algebraic loop issues, as reported by the Diagnostic Viewer.
Replace the Ruleviewer block
Result as shown in the Scope:

카테고리

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

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by