MATLAB: Is there a demo model in xPC Target 2.7.2(R14SP2) that demonstrates reading and writing to VMICPCI-5565 shared memory on the target machine

5565demoreadSimulink Real-Timevmicwrite

Using xPC Target 2.7.2(R14SP2) I am trying to write and read from the VMICPCI-5565 shared memory. I would like to know if there are any demos that address this application. There seem to be no demo models provided in the documentation.

Best Answer

This enhancement has been incorporated in Release 2006b (R2006b). For previous product releases, read below for any possible workarounds:
The documentation of xPC Target 2.7.2 (R14SP2) does not contain a demo model that describes how to read and write to the VMICPCI-5565 shared memory.
You can use the attached model file (VMIC5565demo.mdl) as an example of how to read and write to the VMICPCI-5565 shared memory. This model uses the default partitions as follows:
node=completenodestruct([],'5565');
part = completepartitionstruct([],'5565');
The first target scope displays the written value and the second target scope displays the status of the VMIC board LISR register.