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
code generation for array of char*
1 次查看(过去 30 天)
显示 更早的评论
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
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 External Code Integration 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!