Reply by "dilip.d dilip.d" August 24, 20092009-08-24
please declarethe variable as global m; in all the places youare using.This maysolve your problem.

Regards,

Dileep.D

________________________________
From: samira.khodadadi
To: m...
Sent: Friday, August 21, 2009 8:36:21 PM
Subject: [matlab] global variables


hello
im using some callbacks in my gui project,
in the first callback i type:
global m;
m=....
but in the secend callback it wont recognize m either
i use global m; or not.
haw can i solve it?
regards
Reply by "samira.khodadadi" August 22, 20092009-08-22
hello
im using some callbacks in my gui project,
in the first callback i type:
global m;
m=....
but in the secend callback it wont recognize m either
i use global m; or not.
haw can i solve it?
regards