Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: I have a question about gui
Date: Wed, 26 Nov 2008 17:02:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 26
Message-ID: <ggjvea$sfi$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1227718922 29170 172.30.248.37 (26 Nov 2008 17:02:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Wed, 26 Nov 2008 17:02:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1618672
Xref: news.mathworks.com comp.soft-sys.matlab:503351


Hi 

I want to make a simple gravity simulation.

It's very simple.

If  input weight(text field) and press add button,

object is made and drop down by gravity.


The problem is here.

When one object already dropping, I add another object,

second object doesn't move until first object reaches ground.

I think, I make function move() and

function move() returns immediately from the function call.

but, how can I exactly do that ?

I want to make many object and drop down at the same time.