Error evaluating 'InitFcn' callback of block_diagram 'Faultag'. Callback string is 'Set_parameters_R2018' Caused by:
2 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(1 个)
Youssef Noureddine
2022-11-9
编辑:Youssef Noureddine
2022-11-9
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 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Image Data Workflows 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!