フィルターのクリア

How to call cpp function in coder ceval function?

2 ビュー (過去 30 日間)
Arhan Kundu
Arhan Kundu 2022 年 1 月 20 日
編集済み: Rishabh Singh 2022 年 2 月 7 日
Hi, I am trying to call a cpp function in matlab using coder.ceval method. I am getting errors like the function is not defined, but the same code works for a c function. Please help me.
  2 件のコメント
Rik
Rik 2022 年 1 月 20 日
Wouldn't it be easier to compile it with mex and call it that way?
Arhan Kundu
Arhan Kundu 2022 年 1 月 20 日
We are trying to autogenerate code in simulink and mex functions are not supported for code generation

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

回答 (1 件)

Rishabh Singh
Rishabh Singh 2022 年 2 月 7 日
編集済み: Rishabh Singh 2022 年 2 月 7 日
Hi,
If you could provide the cpp function then I can better answer your question. But in meanwhile a similar question has been answered on the following link.
Hope this helps.

カテゴリ

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