Search found 35 matches
- Fri Oct 04, 2019 7:33 am
- Forum: OpenSim
- Topic: over wiriting on an opensim model
- Replies: 1
- Views: 145
over wiriting on an opensim model
Hello every one I am going to add some muscles to an openSim model in a matlab loop, i used this command to add this muscles : osimModel.updForceSet.adoptAndAppend(mus(j)); although for a small loop it works correctly, but sometimes matlab crashed suddenly, i think it is because of over writing on a...
- Fri Sep 06, 2019 8:04 am
- Forum: OpenSim
- Topic: Parallel processing
- Replies: 1
- Views: 328
Re: Parallel processing
Hello
Just to inform any other person that may face the same problem in future.....
it is necessary to call opensim main classes (Model, InverseKinematicsTool, ...) inside the parfor loop as below :
osimModel = org.opensim.modeling.Model();
Thanks
Zohreh
Just to inform any other person that may face the same problem in future.....
it is necessary to call opensim main classes (Model, InverseKinematicsTool, ...) inside the parfor loop as below :
osimModel = org.opensim.modeling.Model();
Thanks
Zohreh
- Thu Sep 05, 2019 1:25 am
- Forum: OpenSim
- Topic: Parallel processing
- Replies: 1
- Views: 328
Parallel processing
Hello everyone i am going to run an opensim simulation using parfor loop in matalb. i know that i should run from different working directories at each thread, but i dont know how to change the current working directory at each trial. on the other hand the .log files are not printed in the path that...
- Wed Sep 04, 2019 6:40 am
- Forum: OpenSim
- Topic: Unising Matlab with OpenSim API in High Performance Computing clusters
- Replies: 12
- Views: 1918
Re: Unising Matlab with OpenSim API in High Performance Computing clusters
Hello, I have the same problem in parallel processing with opensim API. how can i run the code from different directories in each trial? i used the below code but i have the same issue yet. parfor i=1:2 mkdir(['P:\...\a' int2str(i) ]); cd (['P:\...\a' int2str(i) ]); import org.opensim.modeling.* osi...
- Tue May 21, 2019 11:59 pm
- Forum: OpenSim
- Topic: wrapping surfaces
- Replies: 2
- Views: 250
Re: wrapping surfaces
thanks for your answer
- Thu May 16, 2019 4:37 am
- Forum: OpenSim
- Topic: wrapping surfaces
- Replies: 2
- Views: 250
wrapping surfaces
Hello everyone i have a question about wrapping surfaces ..... what are the "translation" and "x-y-z body rotation" in different kind of wrapping surfaces? if they are rotation and position related to the bone, for spherical wrapping surfaces i think the rotation does not mean.... thank you and i am...
- Sat Sep 01, 2018 8:35 am
- Forum: OpenSim
- Topic: actuator file of static optimization
- Replies: 2
- Views: 522
Re: actuator file of static optimization
tanks for your reply
yes i searched and this model is sutible for squat motion
yes i searched and this model is sutible for squat motion
- Tue Aug 28, 2018 6:23 am
- Forum: OpenSim
- Topic: actuator file of static optimization
- Replies: 2
- Views: 522
actuator file of static optimization
hello dear frineds i work on static optimization of squat motion in GUI with rajagopal model. my question is about the actuator file. i set the optimal forces in the actuator file and i got pretty good results.( otherwise the reserve forces are smaller than id output forces) but some activations are...
- Fri Aug 17, 2018 9:38 pm
- Forum: OpenSim
- Topic: Matlab keeps crashing while running script using MATLAB/OpenSim interface
- Replies: 5
- Views: 805
Re: Matlab keeps crashing while running script using MATLAB/OpenSim interface
thanks for your attention
the code ran correctly.
king regards
the code ran correctly.
king regards
- Wed Aug 15, 2018 1:15 pm
- Forum: OpenSim
- Topic: Matlab keeps crashing while running script using MATLAB/OpenSim interface
- Replies: 5
- Views: 805
Re: Matlab keeps crashing while running script using MATLAB/OpenSim interface
hello my last post in address (https://simtk.org/plugins/phpBB/viewtopicPhpbb.php?f=91&t=9396&p=25818&start=0&view=) has the same issue... that is a short code and i just ran it for 2 loops . but matlab was crashed. here i repeated it import org.opensim.modeling.* for i=1:2 osimModel(i)=Model('E:\ph...