Borrar filtros
Borrar filtros

call mexCallMATLAB from coder.ceval ?

1 visualización (últimos 30 días)
Charlie Ford
Charlie Ford el 19 de Jul. de 2019
Comentada: Sahithi Kanumarlapudi el 8 de Ag. de 2019
I make extensive use of C-language mex functions, C-language S-functions, and coder.ceval for our Windows-based code-gen'd app.
In order to provide stack-trace info (as part of code to validate m-code functions input parameters), I use mexCallMATLAB(nl,plhs,nr,prhs,"dbstack") from a mex function.
I want to be able to use mexCallMATLAB(nl,plhs,nr,prhs,"dbstack") from the corresponding coder.ceval() function, but get LNK2019 at link time.
Is there a way I can use mexCallMATLAB(,,,,"dbstack") from within a coder.ceval module ?
I'd rather not attempt StackWalk64.
I realize that there will be no MATLAB process in a "code-gen'd" .exe runtime environment.
  1 comentario
Sahithi Kanumarlapudi
Sahithi Kanumarlapudi el 8 de Ag. de 2019
Can you be a bit more clear on what you mean by use mexCallMATLAB(nl,plhs,nr,prhs,"dbstack") from the corresponding coder.ceval() function

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre C Shared Library Integration en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by