Time object cannot be empty

75 views (last 30 days)
Zihao Liu
Zihao Liu on 17 Oct 2021
Answered: Morgan Fremovici on 23 May 2022 at 8:28
When I built the code use grt. It caused error:
Internal error while creating code interface description file: codeInfo.mat. Aborting code generation.
Caused by:
  • Time object cannot be empty
How can I solve the problem and what the reason?
  6 Comments
Soham Sinha
Soham Sinha on 21 Apr 2022
Have the same problem.
Internal error while creating code interface description file: codeInfo.mat. Aborting code generation.
Caused by:
Time object cannot be empty

Sign in to comment.

Answers (1)

Morgan Fremovici
Morgan Fremovici on 23 May 2022 at 8:28
First verify that there are no duplicate "coderInfo.mat" files on the MATLAB path by entering the command
>> which codeInfo.mat -all
If there are more than one instances of this file, remove the one unrelated to the project from the path and try code generation again.

Tags

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by