フィルターのクリア

fatal error: coder_posix_time.h: No such file or directory

15 ビュー (過去 30 日間)
Andy Zelenak
Andy Zelenak 2019 年 12 月 30 日
回答済み: Image Analyst 2019 年 12 月 30 日
I added tic to a bit of Matlab code that was previously working just fine with CodeGen. Now, running CodeGen causes this error:
fatal error: coder_posix_time.h: No such file or directory
I see that this #include was added to one of the auto-generated header files: #include "coder_posix_time.h"
Searching for that file in the project folder does not turn up any results.
This is with Ubuntu 16.04.
Man, CodeGen is so cumbersome. To turn this into a question... would the header file be located somewhere else? Or do I need to tweak a CodeGen configuration? Or is this just a bug?

回答 (2 件)

Andy Zelenak
Andy Zelenak 2019 年 12 月 30 日
編集済み: Andy Zelenak 2019 年 12 月 30 日
After searching my hard drive, I see that the header file I needed was located in /home/andyz/MATLAB/R2019a/toolbox/eml/externalDependency/timefun

Image Analyst
Image Analyst 2019 年 12 月 30 日
Try one of these commands in the command window.

カテゴリ

Help Center および File ExchangeFunction Creation についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by