Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
-
Anne Koelewijn
- Posts: 14
- Joined: Tue Aug 26, 2014 6:42 am
Post
by Anne Koelewijn » Thu Jun 30, 2022 4:21 am
Hi,
We have downloaded/checked out OpenSim version 4.1 and 4.3 from git and installed it on Linux. It generally works well, but we run into an issue when trying to load a scaled version of the Catelli model, where it crashed MATLAB when we run the following
It works fine with a model derived from the gait2392 model. We can also run this code for the Catelli model in Windows. We checked if the muscles were a problem by removing them from the .osim file, but this did not solve the issue.
Since MATLAB crashes, we do not get a description of the error.
Does anyone know how to solve this?
Kind regards,
Anne
Tags:
-
Ayman Habib
- Posts: 2248
- Joined: Fri Apr 01, 2005 12:24 pm
Post
by Ayman Habib » Thu Jun 30, 2022 1:29 pm
Hi Anne,
Thanks for reporting. Typically using Matlab requires using the same set of compilers/run-time used to build your OpenSim environment. That said, the fact that other models work as expected suggests that the issue is specific to this model. Potential culprits:
1. Are you doing visualization (for this and for the other models)? A recent user report suggested that setting the geometry search path made a difference.
2. FileSystem issues: Working directory, how files refer to other files if any, absolutes/relative path specification/permissions.
3. Some more issues specific to "Catelli" model which you'll need to isolate by reducing the model to a simpler version that works then gradually adding components back to see where it breaks.
Hope this helps,
-Ayman
-
Anne Koelewijn
- Posts: 14
- Joined: Tue Aug 26, 2014 6:42 am
Post
by Anne Koelewijn » Tue Jul 05, 2022 2:22 am
Thanks! Using this approach, I was able to isolate the problem and I found that it has to do with the ConstraintSet.