running a script from a function
- From: sore <sore@xxxxxxxxxxx>
- Date: Mon, 3 Jul 2006 05:37:01 -0400
hello all,
I have a GUI made using GUIDE. now I want to run
1 script file when GUI opens , in the
function mygui_OpeningFcn(hObject, eventdata, handles, varargin)
when I call my .m script inside this function it works but
variable not come to the workspace.
then I tried with eval , it throws an error
"Attempt to execute SCRIPT my_script as a function."
any method to run a script from a function and bring var
inside the script to workspace?
Thank in Adv
.
- Follow-Ups:
- Re: running a script from a function
- From: Michael Wild
- Re: running a script from a function
- From: Rune Allnor
- Re: running a script from a function
- Prev by Date: Re: Zero-padding in PWELCH
- Next by Date: ode15s
- Previous by thread: 3D plot with values
- Next by thread: Re: running a script from a function
- Index(es):
Relevant Pages
|