Error while creating code interface description file

20 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 31 Mar 2022
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:

More Answers (0)

Categories

Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!