フィルターのクリア

Functions 'Tiff' and 'geotiffwrite' are not supported for code generation

1 回表示 (過去 30 日間)
Jiahao He
Jiahao He 2021 年 3 月 16 日
コメント済み: Jiahao He 2021 年 3 月 18 日
The functions 'Tiff' and 'geotiffwrite' are both not supported for code generation. I want to know which function I can use to write matrix data to TIFF file .
  2 件のコメント
Santos García Rosado
Santos García Rosado 2021 年 3 月 16 日
Copy this line at the beggining of your function if your are using the tiff function:
coder.extrinsic('tiff')
or copying this one if you are using the geotiffwrite one:
coder.extrinsic('geotiffwrite')
Hope it works,
Santos
Jiahao He
Jiahao He 2021 年 3 月 18 日
Thanks, it is useful to me.

サインインしてコメントする。

回答 (1 件)

Darshan Ramakant Bhat
Darshan Ramakant Bhat 2021 年 3 月 17 日
Like you mentioned those functions are not yet supported for code generation.
Workaround 1
Below is the list of functions currently supported for codegen :
Check if any functions from file I/O category is useful for you.
Workaround 2
If you have any external C/C++ code which writes the data to the required file format, you can integrate that code with MATLAB Coder using coder.ceval

カテゴリ

Help Center および File ExchangeMATLAB Coder についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by