MATLAB Answers

can anybody help me with this error,load a file in workspace and ruleviewer

4 views (last 30 days)
kapil bhardwaj
kapil bhardwaj on 14 Sep 2020
Edited: Vasishta Bhargava on 14 Sep 2020
hi ,
can any body pls sort out this error ,i am simulating a power system model for my project but facing this error,pls if you can tell me what is the root cause of it and how i can solve it ,
thanks alot
Error evaluating parameter 'fismatrix' in 'Microgrid/Battery Management System1/ANFIS Controller with Ruleviewer'
Caused by:
  • Undefined function or variable 'BMSS1'.
  • Variable 'BMSS1' does not exist.
Suggested Actions
Load a file into base workspace.
Fix
Create a new variable.
Fix
Component:Simulink | Category:Model error
Error evaluating parameter 'fismatrix' in 'Microgrid/FC/ANFIS Controller with Ruleviewer'
Caused by:
  • Undefined function or variable 'fc'.
  • Variable 'fc' does not exist.
Suggested Actions
Load a file into base workspace.
Fix
Create a new variable.
Fix
Component:Simulink | Category:Model error
Error evaluating parameter 'fismatrix' in 'Microgrid/Fuzzy Logic Controller with Ruleviewer'

  0 Comments

Sign in to comment.

Answers (1)

Vasishta Bhargava
Vasishta Bhargava on 14 Sep 2020
Edited: Vasishta Bhargava on 14 Sep 2020
Type at command window
% if true
% code
%end
>>pwd
>>which BMSS1
>>which fc
See if all the simulink model and m files are in the same folder or directory you are running the simulation

  0 Comments

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!

Translated by