The modelname_xpc_emb folder is created only when building the model for xPC Target in StandAlone mode.
I order to build your model in StandAlone mode, please perform the following steps:
1. From the host PC MATLABĀ® window, type xpcexplr.
2. In the xPC Target Explorer xPC Target Hierarchy pane, select a target PC Configuration node.
3. From the Target boot mode list, select StandAlone.
4. Select and build a model.
This step creates a directory in the current working directory named modelname_xpc_emb.
For additional information on using the StandAlone mode in MATLAB 7.6 (R2008a) please type the following command on the MATLAB prompt:
web([docroot,'/toolbox/xpc/ug/f0-12617.html#f0-7923'])
Best Answer