How do I fix the following error when building the Simulink model with the name "Example_IOBlock_Library_EEPROM":
Internal error while creating code interface description file: codeInfo.mat. Aborting code generation.
Caused by:
- Invalid Simulink object name: Example_IOBlock_Library_EEPROM.
- The block diagram 'Example_IOBlock_Library_EEPROM' is not loaded.

 採用された回答

MathWorks Support Team
MathWorks Support Team 2022 年 3 月 31 日

1 投票

As the error "The block diagram 'Example_IOBlock_Library_EEPROM' is not loaded" indicates, the model is not loaded yet. To fix this issue, load the model using the "load_system" command as shown below. Further, use the "which" command to confirm that the model is loaded:

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Deployment, Integration, and Supported Hardware についてさらに検索

製品

リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by