Skip to content

Catch SimTK Exception thrown by Xml::writeToFile() and report likely cause/resolution to user #2160

Open
@tkuchida

Description

@tkuchida

From Forum topic 9014

OpenSimCreateTugOfWarModel.m (and potentially other MATLAB scripts) can throw an Exception when attempting to print the Model to file. Might be helpful to catch the Exception (either in OpenSim or MATLAB) and suggest a likely cause/resolution (i.e., that the script is being run from a directory to which MATLAB doesn't have permission to write).

model.print('tug_of_war_muscles_controller.osim');

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions