Thread Subject: help me

Subject: help me

From: shrithi srivaastav

Date: 27 May, 2008 09:31:02

Message: 1 of 5

i am using gui builder to create a simple application in
which i have to use infinite loop in a different function
file, but when i call that funtion(having infinite loop)
through the gui then the gui crashes (as well as matlab) ,
does anybody knows what is happening?
thanks in advance.....

Subject: help me

From: ImageAnalyst

Date: 27 May, 2008 13:49:20

Message: 2 of 5

On May 27, 5:31=A0am, "shrithi srivaastav" <bharat.k.sut...@gmai.com>
wrote:
> i am using gui builder to create a simple application in
> which i have to use infinite loop in a different function
> file, but when i call that funtion(having infinite loop)
> through the gui then the gui crashes (as well as matlab) ,
> does anybody knows what is happening?
> thanks in advance.....
----------------------------------------------------------------------------=
-----------
shrithi srivaastav:
Could be one of their known bugs, caused by Java. Every once in a
while I'll do something innocuous on my GUI and then everything just
vanishes. No error messages - nothing. Calls to The Mathworks reveal
that it is a known bug with no fix ETA.

Or you may have some other problem (besides your inability to choose a
meaningful subject line). Do you have any error messages, or does it
just vanish like it does for me? If you have any error messages, ask
The Mathworks about them. Even if it just vanishes, tell them, though
there's nothing that can be done to help you other than wait for the
next version.
Regards,
ImageAnalyst

Subject: help me

From: Rami AbouSleiman

Date: 27 May, 2008 13:57:01

Message: 3 of 5

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<dc23ef7f-d017-48a5-a2bd-
4030719cceae@t54g2000hsg.googlegroups.com>...
> On May 27, 5:31=A0am, "shrithi srivaastav"
<bharat.k.sut...@gmai.com>
> wrote:
> > i am using gui builder to create a simple application in
> > which i have to use infinite loop in a different
function
> > file, but when i call that funtion(having infinite loop)
> > through the gui then the gui crashes (as well as
matlab) ,
> > does anybody knows what is happening?
> > thanks in advance.....
> ----------------------------------------------------------
------------------=
> -----------
> shrithi srivaastav:
> Could be one of their known bugs, caused by Java. Every
once in a
> while I'll do something innocuous on my GUI and then
everything just
> vanishes. No error messages - nothing. Calls to The
Mathworks reveal
> that it is a known bug with no fix ETA.
>
> Or you may have some other problem (besides your
inability to choose a
> meaningful subject line). Do you have any error
messages, or does it
> just vanish like it does for me? If you have any error
messages, ask
> The Mathworks about them. Even if it just vanishes, tell
them, though
> there's nothing that can be done to help you other than
wait for the
> next version.
> Regards,
> ImageAnalyst


Hi,
matlab compiler have these problems,
a while(1) loop rarely works, even a for loop that goes
over a 1000 might not work.
a good solution is to use a while loop and trick the
complier that this loop is not running forever (the
compiler must not know at compilation time that this loop
runs forever)
regards,

Subject: help me

From: Rami AbouSleiman

Date: 27 May, 2008 13:58:02

Message: 4 of 5

ImageAnalyst <imageanalyst@mailinator.com> wrote in message
<dc23ef7f-d017-48a5-a2bd-
4030719cceae@t54g2000hsg.googlegroups.com>...
> On May 27, 5:31=A0am, "shrithi srivaastav"
<bharat.k.sut...@gmai.com>
> wrote:
> > i am using gui builder to create a simple application in
> > which i have to use infinite loop in a different
function
> > file, but when i call that funtion(having infinite loop)
> > through the gui then the gui crashes (as well as
matlab) ,
> > does anybody knows what is happening?
> > thanks in advance.....
> ----------------------------------------------------------
------------------=
> -----------
> shrithi srivaastav:
> Could be one of their known bugs, caused by Java. Every
once in a
> while I'll do something innocuous on my GUI and then
everything just
> vanishes. No error messages - nothing. Calls to The
Mathworks reveal
> that it is a known bug with no fix ETA.
>
> Or you may have some other problem (besides your
inability to choose a
> meaningful subject line). Do you have any error
messages, or does it
> just vanish like it does for me? If you have any error
messages, ask
> The Mathworks about them. Even if it just vanishes, tell
them, though
> there's nothing that can be done to help you other than
wait for the
> next version.
> Regards,
> ImageAnalyst


Hi,
matlab compiler have these problems,
a while(1) loop rarely works, even a for loop that goes
over a 1000 might not work.
a good solution is to use a while loop and trick the
complier that this loop is not running forever (the
compiler must not know at compilation time that this loop
runs forever)
regards,

Subject: help me

From: Steven Lord

Date: 27 May, 2008 18:17:06

Message: 5 of 5


"Rami AbouSleiman" <rdabousl@oakland.edu> wrote in message
news:g1h3vd$q6n$1@fred.mathworks.com...
> ImageAnalyst <imageanalyst@mailinator.com> wrote in message
> <dc23ef7f-d017-48a5-a2bd-
> 4030719cceae@t54g2000hsg.googlegroups.com>...
>> On May 27, 5:31=A0am, "shrithi srivaastav"
> <bharat.k.sut...@gmai.com>
>> wrote:
>> > i am using gui builder to create a simple application in
>> > which i have to use infinite loop in a different
> function
>> > file, but when i call that funtion(having infinite loop)
>> > through the gui then the gui crashes (as well as
> matlab) ,
>> > does anybody knows what is happening?
>> > thanks in advance.....
>> ----------------------------------------------------------
> ------------------=
>> -----------
>> shrithi srivaastav:
>> Could be one of their known bugs, caused by Java. Every
> once in a
>> while I'll do something innocuous on my GUI and then
> everything just
>> vanishes. No error messages - nothing. Calls to The
> Mathworks reveal
>> that it is a known bug with no fix ETA.
>>
>> Or you may have some other problem (besides your
> inability to choose a
>> meaningful subject line). Do you have any error
> messages, or does it
>> just vanish like it does for me? If you have any error
> messages, ask
>> The Mathworks about them. Even if it just vanishes, tell
> them, though
>> there's nothing that can be done to help you other than
> wait for the
>> next version.
>> Regards,
>> ImageAnalyst
>
>
> Hi,
> matlab compiler have these problems,
> a while(1) loop rarely works, even a for loop that goes
> over a 1000 might not work.
> a good solution is to use a while loop and trick the
> complier that this loop is not running forever (the
> compiler must not know at compilation time that this loop
> runs forever)

If you haven't already, please send an example that includes a WHILE loop
that "rarely works" to Technical Support so that they and the developers can
investigate why it's not working. When you send in the example, explain
what you expect it to do and what it's actually doing so that they can
investigate.

--
Steve Lord
slord@mathworks.com


Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Public Submission Policy

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.

Contact us at files@mathworks.com