Make file missing after compilation
I have been encountering a problem wherein RT-LAB does not build the master or slave subsystems. During the build stages there are gcc commands for the async processes but not for the subsystems, and then during the transfer stage MainControl returns an error saying that the subsystem executables do not exist. It appears that no make files are being generated, as we cannot find the make files anywhere. Do you know what might cause this problem, and how to fix it?
Question
So the problem is definitely specific to our model because we just tried making a new model from scratch and it works just fine.
The problem with our model is that we do NOT see the following code:
### Creating project marker file: rtw_proj.tmw
.### Processing Template Makefile: C:\OPAL-RT\RT-LAB8.1.4\Simulink\rtw\c\common\rtlab.tmf
### Wrapping unrecognized make command (angle brackets added)
###
### in default batch file
### Creating asyncip_sl_1_sm_ip_test.mk from C:\OPAL-RT\RT-LAB8.1.4\Simulink\rtw\c\common\rtlab.tmf
Answer
I have been experimenting and found out that if the “Generate makefile” button is clicked in the Simulink model’s Simulation->Configuration Parameters->Real-Time Workshop area (see attached screenshot) then RT-LAB will generate the .mk file during the code creation step.
- RTW Makefile Selection options:




