code generation for array of char*

3 visualizaciones (últimos 30 días)
michael bronnmann
michael bronnmann el 6 de Oct. de 2022
Comentada: Jiri Hajek el 6 de Oct. de 2022
Dear all,
lets assume I have a c-function
void myfun(const char* arrayOfStrings[], int numStrings){}
How do I pass a value to "arrayOfStrings" within a MATLAB function block using coder.ceval('myfun', ???, numStrings) ?
I guess its not supprted at all?
Any idea is welcome...
best regards
  1 comentario
Jiri Hajek
Jiri Hajek el 6 de Oct. de 2022
It seems that you can find a hint to help you with this issue in the Tips section of documentation for the ceval function: https://www.mathworks.com/help/simulink/slref/coder.ceval.html

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre External Code Integration en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by