Undefined function or variable 'clibgen'.

1 visualización (últimos 30 días)
Binu Melit Devassy
Binu Melit Devassy el 10 de Dic. de 2020
Respondida: Shiva Kalyan Diwakaruni el 15 de Dic. de 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 comentario
Geoff Hayes
Geoff Hayes el 10 de Dic. de 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.

Iniciar sesión para comentar.

Respuestas (1)

Shiva Kalyan Diwakaruni
Shiva Kalyan Diwakaruni el 15 de Dic. de 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