Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

The Callback Functions

Status
Not open for further replies.

zener_16

Newbie level 2
Joined
May 15, 2011
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,295
hi i am really new to matlab gui. i have been trying to learn some basics
from the internet but i am still unable to understand matlab gui very well. I
do not know how to pass "Values" from one function to another.

i have a burning question:

i have made a popupmenu which has a list of videos and a push button.

I would only like to Select the videos without them playing, but only able to
play them after i have press my push button, heres my code under the
popupmenu's callback :

switch get(handles.popupmenu1,'Value')
case 1
winopen('Ma3.wmv');
case 2
winopen('Ma5.wmv');
case 3
winopen('Ma6.wmv');
case 4
winopen('Ma4.wmv');
end

Problem: i do not know how to prevent the video from playing when i select
them from the popupmenu and how can i make use of the push button as the
"Activation" ?

Please help me, i am really out of wits... Thank you...
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top