how can I define a PiecewiseConstantFunctio using Matlab API
Posted: Wed Aug 28, 2013 12:27 am
Hi every one
I am trying to create a PiecewiseConstantFunction within a Matlab script:
where nNodes is an integer and tVec&U are two vectors (size = 1xnNodes)
When I run my script, it returns this error:
Any ideas?
Thanks
Sina
I am trying to create a PiecewiseConstantFunction within a Matlab script:
Code: Select all
PiecewiseConstantFunction(nNodes, tVec, U)
where nNodes is an integer and tVec&U are two vectors (size = 1xnNodes)
When I run my script, it returns this error:
I tried to replace tVec and U with two matching org.opensim.modeling.ArrayDoubles which didn't solve the problem.??? No constructor 'org.opensim.modeling.PiecewiseConstantFunction' with matching
signature found.
Any ideas?
Thanks
Sina