Matlab crash during PointKinematics API
Posted: 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
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