Setting up initial data values

If the Simulink diagram requires running an M file to load initial values, an equivalent Embed script (VSS) must be created, or the initializations must be set up directly as blocks and block properties in the translated diagram.

If the Simulink diagram contained DLLs, these DLLs must be converted into equivalent Embed user block DLLs by feeding the original C code through the Embed DLL wizard.

If the Simulink diagram contained required MEX files, these files must be converted to C code and then feed into user blocks either manually or through the Embed DLL wizard.