Need help to remove simulink model error

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

 Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 4 de Sept. de 2014

0 votos

Go to InitFcn and show us the code

5 comentarios

sushant kumar
sushant kumar el 4 de Sept. de 2014
how to go to InitFcn.....
Azzi Abdelmalek
Azzi Abdelmalek el 4 de Sept. de 2014
  1. Right click on your model and choose model properties
  2. click on callbacks
  3. click on InitFcn
Fatima Hassan
Fatima Hassan el 23 de En. de 2018
Well I was getting the same error with thr Audio Reader block and when I went to the InitFcn callback the code "audioblkAudioDeviceIO(gcbh,'initfcn')" is greyed-out what do I do?
Pravesh Srivastava
Pravesh Srivastava el 2 de Jun. de 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 el 29 de Sept. de 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');

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulink en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 4 de Sept. de 2014

Comentada:

el 29 de Sept. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by