Attempt to modify 'fuzwiz' which is a locked (read-only) library

15 ビュー (過去 30 日間)
Rim SALAH
Rim SALAH 2017 年 8 月 23 日
回答済み: Sudarshan Kolar 2017 年 8 月 29 日
Error in 'integration_pv_power_system_fuzzyOuMPPT/Inverter Control/Fuzzy Logic Controller with Ruleviewer/Fuzzy Logic Controller': Initialization commands cannot be evaluated. Caused by: Attempt to modify 'fuzwiz' which is a locked (read-only) library

回答 (1 件)

Sudarshan Kolar
Sudarshan Kolar 2017 年 8 月 29 日
Hi Rim,
From the error you have mentioned here, it seems like you have a Simulink model which has a library block inside. It seems like you have a script in the InitFcn callback that is modifying the structure of this library block.
Please remember that you have to disable the locked link of this block to the library before making any changes to it.
1. Remove the lock from the library
2. Disable the library link
3. Run your model
This should fix your issue.
You can read more about library lock disabling here .
You can read more about the library blocks here .
Hope that helps.
-Sudarshan

カテゴリ

Help Center および File ExchangeFuzzy Logic in Simulink についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by