MATLAB: External mode compatible with dll target

code generationembedded matlabreal time workshoprtw

Hi,
I'm generating a target for a specific hardware, which works with RTOS (real-time operating system). For this reason the generated code is encapsulated in a dll.
And I have seen the xPCtarget (like mine). But has not external mode.
Is possible to incorporate the "external mode" with a dll working in RTOS?
Thanks in advance.

Best Answer

Just as a clarification, xPC Target does work with Simulink external mode.
If you are creating your own custom target, you need to create a TCP/IP layer for external mode. See Creating a TCP/IP Transport Layer for External Communication.