JSlider changeEvent and Matlab

A

A Watcher

I am working on a project that combines Matlab and Java. I have a
JSlider and a Matlab function is triggered when it's value is
changed. The only problem is that the code is in an infinite loop.
The JSlider is in a JPanel that is in turn embedded in a Matlab
panel. The function runs, exits and is then called endlessly. Is
there a method that I can use to unset the changeEvent value for the
slider?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top