Error evaluating 'InitFcn' callback of block_diagram 'Faultag'. Callback string is 'Set_parameters_R2018' Caused by:
이전 댓글 표시
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
답변 (1개)
Youssef Noureddine
2022년 11월 9일
편집: Youssef Noureddine
2022년 11월 9일
0 개 추천
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.
카테고리
도움말 센터 및 File Exchange에서 Language Support에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!