MATLAB: Do I receive a “non-structure array” error when using XPCEXPLR in xPC Target 2.7.2 (R14SP2) on Windows

comexplorerhierarchymodelSimulink Real-Timetargetxmlxpcexplr

I receive the following error when using XPCEXPLR in xPC Target 2.7.2 (R14SP2) on Windows to display the model hierarchy:
Attempt to reference field of non-structure array error on Windows 2000.

Best Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
There is a bug in xPC Target 2.7.2 (R14SP2) in the way that xPC Target Explorer returns an error when displaying the model hierarchy. This error occurs because xPC Target Explorer relies on "COM.Msxml2_DOMDocument" to parse XML files.
This file typically resides in "system32/msxml2.dll". However, not all versions of Windows automatically install this file. If this file is not present, you receive an error message when xPC Target Explorer tries to display the model hierarchy.
To work around this issue, download latest MSXML version from the Microsoft Web site: