Do you have an Embedded Coder license and have Embedded Coder installed?
The following command checks if a license exists for Embedded Coder:
>> license('test','RTW_Embedded_Coder')
The following command checks if a license is checked out for Embedded Coder:
>> license('checkout','RTW_Embedded_Coder')
Do both of these return 1 as the output?
