[MBDyn-users] fork & simulink & sockets

Alessandro Fumagalli fumagalli at aero.polimi.it
Fri Oct 12 10:25:37 CEST 2007

Hi Rudi,

it is quite difficult for me to say what's happening on your machine.
Anyway, try to eliminate the " mbdyn-start " block from your simulink 
launch mbdyn from shell and afterwards start the simulink run. This should
work fine.
Remember to set the simulink integrator type to " discrete " with " 
fixed step " in:
simulation -> configuartion parameters -> solver -> solver option:
Solver: discrete (no continuous state)
Type: fixed step
Fixed step size: dt (the step size of mbdyn)

This is a brutal solution, but, if you like, maybe you can help us to 
make the
mbdyn-start block work correctly and make it more portable :-)


Rudi Jaeger wrote:
> Dear Dr Masarati,
> during the last days, I spend some time on the communication with 
> Simulink.
> It is hard to get this to work on my maschine.
> One strange thing I see is that MBDyn-processes, created by fork,
> do not get terminated in case the Simulink-run succeeds and become
> defunct after another run. They also become defunct if the run fails.
> Dead children are piling up this way. I did not see a call to wait().
> Primarily MBDyn does not seem to leave the server-mode.
> Final (Stop) - Time of MBDyn does not seem to depend on the
> setting in the input-file any more (but on the Simulink setting).
> Any ideas about this?
> Cheers,
> Rudi
> ------------------------------------------------------------------------
> Building a website is a piece of cake.
> Yahoo! Small Business gives you all the tools to get online. 
> <http://us.rd.yahoo.com/evt=48251/*http://smallbusiness.yahoo.com/webhosting/?p=PASSPORTPLUS> 
> ------------------------------------------------------------------------
> _______________________________________________
> MBDyn-users mailing list
> MBDyn-users at mbdyn.org
> https://www.mbdyn.org/mailman/listinfo/mbdyn-users


Alessandro Fumagalli

Research Assistant, Ph.D. Candidate

Department of Aerospace Engineering
Politecnico di Milano
Via La Masa, 34 - 20156 Milano, Italy
Office 42
Phone: +39 02 2399 8428
Fax: +39 02 2399 8334
mailto: fumagalli at aero.polimi.it
mailto: alessandro.fumagalli at polimi.it
Web: www.aero.polimi.it/~fumagalli

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mbdyn.org/pipermail/mbdyn-users/attachments/20071012/2b0abf8c/attachment.htm>

More information about the Mbdyn-users mailing list