??? Unexpected MATLAB operator (:) when using codegen to generate C code
2 次查看(过去 30 天)
显示 更早的评论
I use codegen to generate C code from Matlab code. in the Matlab function, I have a line of code:
a=quantile(double(z(:)), [r 1-r]);
codegen has error when generating C code. Error message: Unexpected MATLAB operator. it is indicating : used in the above line of code. Does anyone know why and how to fix it?
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!