I am creating a Level 2 MATLAB file S-function that uses data types other than "double".
The Level 2 MATLAB File S-Function template, msfuntmpl.m, contains the following lines:
% Override input port properties
block.InputPort(1).DatatypeID = 0; % double
However, there is no information about a DatatypeID for other valid data types such as "int", "single", and "boolean".
Best Answer