Why do I get the error message "Undefined function or variable" when importing ARXML?
Show older comments
For releases from R2016a to R2018a, when using "createComponentAsModel" with the "DataDictionary" option, I get the following error:
Undefined function or variable
I am using the following code to import the ARXML:
importerObj = arxml.importer('myARXMLfile.arxml');
createComponentAsModel(importerObj, '/ComponentTypes/myComponent', 'CreateInternalBehavior', true, 'DataDictionary', 'myDictionary.sldd');
Accepted Answer
More Answers (0)
Categories
Find more on System Composer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!