Matlab crash during PointKinematics API

Provide easy-to-use, extensible software for modeling, simulating, controlling, and analyzing the neuromusculoskeletal system.
POST REPLY
User avatar
Simao Brito da Luz
Posts: 8
Joined: Tue Nov 27, 2012 7:10 pm

Matlab crash during PointKinematics API

Post by Simao Brito da Luz » Fri Feb 05, 2016 12:41 am

Hi!

Ive been trying to do PointKinematics through API because I need to do this for a large number of points.
Ive been getting an error with matlab crashing when i running setPoint

This is the code I have:

pointKinematicsObject = analyzeTool.getAnalysisSet().get('PointKinematics');
PKTool = PointKinematics.safeDownCast(pointKinematicsObject);

PKTool.setStartTime(initial_time);
PKTool.setEndTime(final_time)
PKTool.setPointName(markers_names{i});

myMarkerSet = model.getMarkerSet();
marker_from_model = myMarkerSet.get(markers_names{i});

PKTool.setPoint(marker_from_model.getOffset());

So vec3 is the local coordinates of the different markers.

Any ideas?

Thanks heaps

POST REPLY