Search found 5 matches
- Thu Apr 11, 2024 5:05 pm
- Forum: OpenSim
- Topic: Closing Connection to Log File via Matlab - OpenSim 3.2
- Replies: 2
- Views: 513
Re: Closing Connection to Log File via Matlab - OpenSim 3.2
It turns out that essentially carpet-pulling OpenSim and overwriting the out.log file results in thousands of NULL values the next time the file is read (duh! :lol:). Due to this, upon completion of the first simulation, I make a copy of the log file for the next iteration. OpenSim then writes to th...
- Wed Apr 10, 2024 2:39 pm
- Forum: OpenSim
- Topic: Closing Connection to Log File via Matlab - OpenSim 3.2
- Replies: 2
- Views: 513
Re: Closing Connection to Log File via Matlab - OpenSim 3.2
As an update - I have mostly figured out the first question. After checking for the warning in the out.log file, even though the file is technically open and can't be deleted, I'm able to open the file using `fopen()`, clear the file, and then close the handle: % Check for Simulation Warning outputC...
- Wed Apr 10, 2024 11:12 am
- Forum: OpenSim
- Topic: Closing Connection to Log File via Matlab - OpenSim 3.2
- Replies: 2
- Views: 513
Closing Connection to Log File via Matlab - OpenSim 3.2
I am using Matlab 2015b to interface to OpenSim 3.2 and run a series of static optimizations. The script runs just fine and is working as expected; however, I would like to improve how I check whether an optimization was successful. After an optimization is run, I load and check the `out.log` file f...
- Mon Jan 29, 2024 12:09 pm
- Forum: OpenSim
- Topic: Applying ExternalForces during Static Optimization
- Replies: 2
- Views: 811
Re: Applying ExternalForces during Static Optimization
And just like that, my problem has been fixed! Thank you very much for your input, Thomas, it's greatly appreciated
- Thu Jan 25, 2024 11:24 am
- Forum: OpenSim
- Topic: Applying ExternalForces during Static Optimization
- Replies: 2
- Views: 811
Applying ExternalForces during Static Optimization
I am attempting to apply an ExternalForce to an OpenSim model during Static Optimization. I am currently using the arm26.osim model as a simplified starting point. The end goal is to use this knowledge to aid in performing isometric force production simulations. I am using OpenSim 3.2 and Matlab R20...