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 CenterFile Exchange에서 Argument Definitions에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by