The issue is related to the lack of memory on the external hardware (in this case a Texas Instruments C2000 processor). The first step is to check whether the 'ExtModeStaticAlloc' parameter is 'off'. This can be done by executing:
>> get_param(bdroot,'ExtModeStaticAlloc')
If the result is 'on', then please turn it off by executing:
>> set_param(bdroot,'ExtModeStaticAlloc','off')
Now please try to build the model again. However, if the parameter was already set to 'off', then please enable the option 'Boot From Flash (stand alone execution)'. You can find this option in the Configuration Parameters (Ctrl+E) under 'Hardware Implementation > Target Hardware Resources > Build Options' (next to the 'Device Name' drop-down menu). By enabling this option, you make sure that the model is built for flash, instead of RAM.
In case you preferred to increase the RAM, instead, please refer to this Texas Instruments blog post (and leave the 'Boot From Flash (stand alone execution)' option unchecked):
Best Answer