Azzera filtri
Azzera filtri

Undefined function or variable 'clibgen'.

2 visualizzazioni (ultimi 30 giorni)
Binu Melit Devassy
Binu Melit Devassy il 10 Dic 2020
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 Commento
Geoff Hayes
Geoff Hayes il 10 Dic 2020
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.

Accedi per commentare.

Risposte (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni il 15 Dic 2020
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

Community Treasure Hunt

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

Start Hunting!

Translated by