Error evaluating 'InitFcn' callback of block_diagram 'power_wind_dfig_det'

9 ビュー (過去 30 日間)
allama khan
allama khan 2021 年 10 月 14 日
回答済み: Sathvik 2024 年 11 月 11 日 11:02
Please help me resolve this error in my simulink model.
i am trying to run
"Wind Farm - DFIG Detailed Model"
from mathworks website:
my matlab release is 2018a.
I am getting follwoing error when i run the model:
Error evaluating 'InitFcn' callback of block_diagram 'power_wind_dfig_det'.
Callback string is 'load power_wind_dfig_det_xinitial
Ts=5e-6;'
Caused by:
Unable to read file 'power_wind_dfig_det_xinitial'. No such file or directory.

回答 (1 件)

Sathvik
Sathvik 2024 年 11 月 11 日 11:02
Hi
The "InitFcn" callback in the Simulink model is trying to load variables from the "power_wind_dfig_det_xinitial" file and is failing. As a troubleshooting step, ensure "power_wind_dfig_det_xinitial" is present in the MATLAB path, by running:
>> which -all power_wind_dfig_det_xinitial
This issue may occur while using example models from prior releases, in which case opening the example again in the newer release may resolve the issue

カテゴリ

Help Center および File ExchangeSimulink Environment Customization についてさらに検索

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by