Page 1 of 1

writing mot file

Posted: Mon Jan 20, 2020 4:04 pm
by kernalnet
Dear experts,

I converted the filtered forceStruct to forceTable and now i want to write .mot file.
but it seems that "writeMOT()" function and STOFileAdapter.write() dont work and cause error.

No method 'write' with matching signature found for class
'org.opensim.modeling.STOFileAdapter'.

I tried the codes of writeMOT and the proper .mot file was generated succesfully.

I would be grateful if anyone would tell me how to use these functions correctly.

Cheers

Re: writing mot file

Posted: Mon Jan 20, 2020 9:27 pm
by tkuchida
No method 'write' with matching signature found for class 'org.opensim.modeling.STOFileAdapter'.
This error means that you're attempting to pass incorrect arguments to the method or the method doesn't exist at all. Please see the documentation for STOFileAdapter here: https://simtk.org/api_docs/opensim/api_ ... 23ed90458d.