
Error while creating code interface description file
20 views (last 30 days)
Show older comments
MathWorks Support Team
on 31 Mar 2022
Answered: MathWorks Support Team
on 31 Mar 2022
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
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:

0 Comments
More Answers (0)
See Also
Categories
Find more on Deployment, Integration, and Supported Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!