So I have a assembly that I have exported from Creo 3.0 using the second generation option. Now using MATLAB R2015a I am trying to import the Physical Modeling XML file to generate the SimMechanics block diagram model with this file. So I use:
mech_import('assembly.xml')
Which just returns an error:
Error using PMImport.ModelReader (line 33)"XML Read error" while attempting to read file"assembly.xml".Error in PMImport.ModelUpdater (line 16)Error in PMImport.pmiu_import (line 73)Error in mech_import (line 97) PMImport.pmiu_import(varargin{:});
Is it possible that the XML file has been generated incorrectly? Maybe the tool was configured wrong? Should I be using the simport function instead?
Best Answer