3.2.1. loadModel()

void loadModel(string pathAndFileName, bool hostLevelDebugger, 
           string targetInstanceName)

Load a model library file from the location specified by pathAndFileName.

The model shared library file must be supplied. The file extensions for shared libraries can be .cadi, .so (Unix), .dll (Windows), or .mxdi.


The option hostLevelDebugger is deprecated. Setting this parameter has no effect on the function.

If a model contains multiple targets, targetInstanceName is used to select one target. The default is to take the first target. Use getTargetList() to identify all available targets.

Copyright © 2007-2011 ARM. All rights reserved.ARM DUI 0371J