How do I resolve the error "Time object cannot be empty" error when generating code?
Show older comments
When trying to generate code for a Simulink model, I receive the following error:
### Build procedure for product aborted due to an error.
Build Summary 1
Elapsed: 0.3 sec
Top model targets built:
Model Action Rebuild Reason
===================================================================
product Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 2.898s
Internal error while creating code interface description file: codeInfo.mat. Aborting code generation.
Caused by:
Time object cannot be empty
How can I resolve this error?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink Coder 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!