https://es.mathworks.com/help/plccoder/ug/fixed-point-simulink-plc-coder-structured-text-code-generation.html
Fixed Point Simulink PLC Coder Structured Text Code Generation - MATLAB & Simulink
Configure model parameters and subsystem block parameters containing a fixed point data type for Simulink PLC Coder code generation.
simulink plc coderfixed pointstructured textgenerationmatlab