Open
Description
Reported by a user on the forum: passing a model to an Analysis
can lead to a crash in Matlab. This user was trying to use the API to construct setup files for the AnalyzeTool
.
Part of the issue might be that if you pass a model to the constructor of an Analysis
, it should also be added to the model, e.g.,
MuscleAnalysis* muscleAnalysis = new MuscleAnalysis(&model);
model.addAnalysis(muscleAnalysis);
If so, this is not very clear from the API nor the documentation.
Metadata
Metadata
Assignees
Labels
No labels