Page History
...
Code Block |
---|
osimModel = Model('tug_of_war_muscles_controller.osim'); osimModel.setUseVisualizer(true); |
Set verbosity or logging level
Info |
---|
Applies to OpenSim 4.2 (unreleased) and above. |
You can control how much detail is printed to the console using the following:
Code Block |
---|
Logger.setLevel("Off");
Logger.setLevel("Critical");
Logger.setLevel("Error");
Logger.setLevel("Warn");
Logger.setLevel("Info"); % default
Logger.setLevel("Debug");
Logger.setLevel("Trace"); |
Batch Processing
There are several examples in the Matlab scripts and GUI scripts that show how to perform batch processing by calling the OpenSim API (e.g. Analyze, IK). We encourage you to use this approach rather than using Matlab's xml parsing tools. To read more about why this is the case, please see the scripting FAQ:
...