Hi all,
I always have this problem. When I call study.visualize(), Matlab crashes. Any suggestions?
Thanks,
Karthick.
Matlab crashes with study.visualize()
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Matlab crashes with study.visualize()
Hi Karthick,
I've also experienced some random Matlab crashes when running/initialising a study - but I think it's always been to do with something not working appropriately within the code. The problem is that this call kind of grabs everything in the study (I think), so it's difficult to pin-point a problem. My advice would be to find an example that doesn't crash Matlab (e.g. the Moco examples built in) - and edit these bit by bit with your own problem (e.g. change one thing at a time) to try and see when you get to the point of Matlab crashing.
I don't think anyone will be able to solve your problem or find a 'magic bullet' without any further testing - as long as you've checked off all the basic things (e.g. Moco installed right etc.).
Aaron
I've also experienced some random Matlab crashes when running/initialising a study - but I think it's always been to do with something not working appropriately within the code. The problem is that this call kind of grabs everything in the study (I think), so it's difficult to pin-point a problem. My advice would be to find an example that doesn't crash Matlab (e.g. the Moco examples built in) - and edit these bit by bit with your own problem (e.g. change one thing at a time) to try and see when you get to the point of Matlab crashing.
I don't think anyone will be able to solve your problem or find a 'magic bullet' without any further testing - as long as you've checked off all the basic things (e.g. Moco installed right etc.).
Aaron
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Matlab crashes with study.visualize()
Karthick,
I'm curious if your issue is related to Moco or to OpenSim on its own. Some OpenSim users have reported crashes with Matlab when using the visualizer. What operating system are you using?
Can you run this script https://gist.github.com/chrisdembia/ce3 ... c884a17360 (which doesn't use Moco) and report if this causes Matlab to crash?
I'm curious if your issue is related to Moco or to OpenSim on its own. Some OpenSim users have reported crashes with Matlab when using the visualizer. What operating system are you using?
Can you run this script https://gist.github.com/chrisdembia/ce3 ... c884a17360 (which doesn't use Moco) and report if this causes Matlab to crash?
- Ross Miller
- Posts: 375
- Joined: Tue Sep 22, 2009 2:02 pm
Re: Matlab crashes with study.visualize()
I've had a small number of Matlab crashes when using Moco, maybe three or four times to date. Usually it happens in the midst of an IPOPT run. None of them have been reproducible. I have all the Matlab crash logs somewhere if they are helpful (they are Greek to me).
The visualizer will crash (but Matlab stays up) if I run an animation in it for a very long time, like several hours. This is all on a Mac.
Ross
The visualizer will crash (but Matlab stays up) if I run an animation in it for a very long time, like several hours. This is all on a Mac.
Ross
- Christopher Dembia
- Posts: 506
- Joined: Fri Oct 12, 2012 4:09 pm
Re: Matlab crashes with study.visualize()
Hey Ross, yes those logs would be useful!
- Karthick Ganesan
- Posts: 119
- Joined: Thu Oct 10, 2013 12:11 am
Re: Matlab crashes with study.visualize()
Thank you all for your suggestions.
Chris,
When I ran the 'IntroOpensimAPI.m', Matlab crashed. I am using Windows 7.
Thanks,
Karthick.
Chris,
When I ran the 'IntroOpensimAPI.m', Matlab crashed. I am using Windows 7.
Thanks,
Karthick.