I am trying to run my application using XCP-based external mode. However, I see the following error message about a non-existing "model_targ_data_map" file when I try to connect to the target:
>> set_param(modelname, 'SimulationMode', 'external');>> set_param(modelname, 'SimulationCommand', 'connect');Could not execute target data map file 'myModel_myTarget_rtw\myModel_targ_data_map' or it does not exist.Stop the target, delete the myModel executable, rebuild the code, and try again.Note that execution of external mode requires the build directory to be present
Best Answer