MATLAB: How to find out which Simulink blocks are not supported for code generation and what data types they support

doublereal timertws-functionsimulinkworkshop

I would like to have a list with detailed information on code generation and data type support.

Best Answer

The Simulink Block Data Type Support Table describes the data types that are supported by the blocks in the main Simulink and Fixed-Point libraries. The table also identifies blocks that are suitable for production code generation. You can view the table by typing the MATLAB command:
>> showblockdatatypetable
Alternatively, you can open an existing model or create a new model, then in the model window click on Help -> Block Support Table.
As of MATLAB R2017b, the list of Simulink blocks supported for code generation can be found on this documentation page: