Error while creating code interface description file

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

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!