Time object cannot be empty (Simulink coder problem during build)
이전 댓글 표시
Hello Experts,
I hope you all doing well. I am facing a problem during a simulink model build process. I am getting an error called "Time object cannot be empty". I have tried to find solution in different ways but no luck till now. If anyone already knows the cause/solution of the problem, please let me know.
Thank you in advance.
kind regards
Onkar Vader
댓글 수: 2
Javier Merino
2022년 5월 3일
편집: Javier Merino
2022년 5월 3일
Did you solve the problem?
Poorna
2023년 9월 26일
Hi Onkar,
Please refer to this answer: https://in.mathworks.com/matlabcentral/answers/1565541-time-object-cannot-be-empty#answer_969645
답변 (1개)
Naga
2025년 3월 12일
Hello Onkar,
This issue might be due to the presence of a secondary 'codeInfo.mat' file in your MATLAB path. To address this, you can check for multiple instances of this file by executing the following command:
>> which codeInfo.mat -all
If you find more than one 'codeInfo.mat' file, remove the one that is not related to your current model from the path.
If this doesn't resolve the issue, you can try restoring the default MATLAB path with these commands:
>> restoredefaultpath
>> rehash toolboxcache
>> sl_refresh_customizations
Before running these commands, it might be wise to save your current path settings. For more detailed troubleshooting tips, you can refer to the MATLAB Answers post How can I perform initial troubleshooting of MATLAB or Simulink errors?
카테고리
도움말 센터 및 File Exchange에서 Texas Instruments C2000 Processors에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!