Need help to remove simulink model error

2 views (last 30 days)
Hi all, I get following error while executing the simulink model;
error evaluating 'InitFcn' callback of MPC block(mask)
I would appreciate if any one could help me to remove this error.
Regards,
Sushant

Accepted Answer

Azzi Abdelmalek
Azzi Abdelmalek on 4 Sep 2014
Go to InitFcn and show us the code
  5 Comments
Pravesh Srivastava
Pravesh Srivastava on 2 Jun 2020
I am also getting the error, I am using ubuntu 18.04, I don't know how to get rid of this error. My MATLAB version is r2018b. Earlier when I was using it in windows ,there was no such error, but this is not going at all.
Gustavo Silva
Gustavo Silva on 29 Sep 2020
I already went to callback and select initFcn* and there where this, I presss ok but nothing happend, It still appearing the same error
Ku = 4.6737;
Tu = 3.26;
Kpmin = 0.32*Ku;
Kpmax = 0.6*Ku;
Kdmin = 0.08*Ku*Tu;
Kdmax = 0.15*Ku*Tu;
fuzzy_pid = readfis('fuzzy_pid');

Sign in to comment.

More Answers (0)

Categories

Find more on General Applications in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!