code generation for array of char*

조회 수: 1 (최근 30일)
michael bronnmann
michael bronnmann 2022년 10월 6일
댓글: Jiri Hajek 2022년 10월 6일
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
Jiri Hajek
Jiri Hajek 2022년 10월 6일
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

댓글을 달려면 로그인하십시오.

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by