Error evaluating 'InitFcn' callback of block_diagram 'Faultag'. Callback string is 'Set_parameters_R2018' Caused by:
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I have a hybrid microgrid model. it consists of variable loading matlab file also. Now I required to write another program for collecting data for different fault fault condition in the same model.but while run this program it shows the following error
Error evaluating 'InitFcn' callback of block_diagram 'Faultag'.
Callback string is 'Set_parameters_R2018'
Caused by:
Error using ff
how can I able to eliminate this error
0 comentarios
Respuestas (1)
Youssef Noureddine
el 9 de Nov. de 2022
Editada: Youssef Noureddine
el 9 de Nov. de 2022
Hi Nirma,
This error is happening prior to your model 'Faultag' simulating. You will have to take a look at the callback titled 'Set_parameters_R2018' that is causing this error.
I am unable to tell you why you experience this just based on the error message and without access to the files called by your model's callback, but what I would recommend doing is running your callback string outside of Simulink (either in the command window or an empty MATLAB script) to see if you still encounter the error and if so, see if the error message gives you a better idea of why calling 'Set_parameters_R2018' is erroring when using ff.
Sincerely,
Youssef
Edit: I forgot to mention this, but if you are still unable to determine how to prevent this error after examining the offending callback more closely, feel free to contact MathWorks Technical Support directly.
0 comentarios
Ver también
Categorías
Más información sobre Sequence and Numeric Feature Data Workflows en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!