Matlab Coder coder.resize and coder.typeof unsupported for code generation
4 views (last 30 days)
I was wondering why these functions as well as a couple are unsupported seeing as they are part of the Matlab coder toolbox itself, here is the error message I am getting;
The function 'typeof' is not supported for standalone code generation. See the documentation for coder.extrinsic to learn how you can use this function in simulation.
Function 'foo.m' (#404.3235.3258), line 45, column 48:
Launch diagnostic report.
Is this something I am doing wrong or is this a bug the coder itself
Fred Smith on 3 May 2013
coder.resize and coder.typeof are used to construct and manipulate types that are passed as inputs to the codegen command. They cannot be used from the MATLAB Code that you are generating code from.