I use numerictype in MATLAB function block.
The attached model to causes the following error upon updating:
In numerictype(s) s must be a scalar constant or a fi.
Function 'Unit Delay' (#23.780.794), line 25, column 17:
"numerictype(u)"
Launch diagnostic report.
Component: MATLAB Function | Category: Coder error
Undefined function or variable 'u_d'. The first assignment to a local variable determines its class.
Function 'Unit Delay' (#23.866.869), line 29, column 5:
"u_d"
Launch diagnostic report.
Component: MATLAB Function | Category: Coder error
Errors occurred during parsing of MATLAB function 'Unit Delay'
Component: MATLAB Function | Category: Coder error
Errors occurred during parsing of MATLAB function 'Unit Delay'
Component: Simulink | Category: Block error
An error occurred while propagating data type 'int16' through 'test/Unit Delay'.
Best Answer