Undefined function or variable 'clibgen'.

1 回表示 (過去 30 日間)
Binu Melit Devassy
Binu Melit Devassy 2020 年 12 月 10 日
回答済み: Shiva Kalyan Diwakaruni 2020 年 12 月 15 日
Hi,
I am trying to follow the article "https://blogs.mathworks.com/developer/2019/07/11/cpp-interface/" using clibgen. However I am getting strange error that Undefined function or variable 'clibgen' and Undefined variable "clibgen" or class "clibgen.generateLibraryDefinition". I am using Matlab 2018 rb. Let me know if anybody knows a solution for this problem.
Thanks
  1 件のコメント
Geoff Hayes
Geoff Hayes 2020 年 12 月 10 日
Binu - the first line in the article mentions _...exciting new feature in R2019a ..._. Given that you are using R2018b, then it seems that it wouldn't be available for your version.

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

回答 (1 件)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni 2020 年 12 月 15 日
Hi,
The feature you are trying to use is release in matlab R2019a and you are trying to use clibgen function in matlab R2018b hence the error "Undefined function or variable 'clibgen' and Undefined variable "clibgen" or class "clibgen.generateLibraryDefinition" " is occuring .Please use any versions after R2019a to eliminate the error.
Thanks

カテゴリ

Help Center および File ExchangeArgument Definitions についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by