|
|
Running a script/Invoking a function "in the background"
Hi,
I'm using Matlab v7.10.0.499 (R2010a) for Windows. I want to know if there is any way that, once you have started matlab, run a script or call a function "in the background"using some kind of operator (e.g., like & in unix). For instance:
>> my_script &
% my_script is still executing
>> my_other_script &
% my_script AND my_other_script are executing
>> % I can type other commands here
I'm not asking how to start an instance of Matlab in the command line (e.g., with nodesktop) in a non-interactive way. I know I can invoke Matlab and ask it to execute a script passed as a command line argument, but that's not what I'm asking.
Thanks
|
|
0
|
|
|
|
Reply
|
Mark
|
1/26/2011 9:04:03 PM |
|
No way of doing this?
"Mark" wrote in message <ihq283$qhn$1@fred.mathworks.com>...
> Hi,
>
> I'm using Matlab v7.10.0.499 (R2010a) for Windows. I want to know if there is any way that, once you have started matlab, run a script or call a function "in the background"using some kind of operator (e.g., like & in unix). For instance:
>
> >> my_script &
>
> % my_script is still executing
>
> >> my_other_script &
>
> % my_script AND my_other_script are executing
>
> >> % I can type other commands here
>
> I'm not asking how to start an instance of Matlab in the command line (e.g., with nodesktop) in a non-interactive way. I know I can invoke Matlab and ask it to execute a script passed as a command line argument, but that's not what I'm asking.
>
> Thanks
|
|
0
|
|
|
|
Reply
|
Mark
|
1/28/2011 4:03:03 PM
|
|
On 26/01/11 3:04 PM, Mark wrote:
> I'm using Matlab v7.10.0.499 (R2010a) for Windows. I want to know if
> there is any way that, once you have started matlab, run a script or
> call a function "in the background"using some kind of operator (e.g.,
> like & in unix). For instance:
>
>>> my_script &
>
> % my_script is still executing
>
>>> my_other_script &
>
> % my_script AND my_other_script are executing
There is no mechanism for this. The closest I can think of that could be
achieved is some "cooperative multitasking", in which each background
routine had been written in such a way that it progressed a little and
then deliberately gave up control, continuing on the next time it was
granted control. For more complicated routines, that would probably
require that the routines be written as "state machines".
|
|
0
|
|
|
|
Reply
|
Think
|
1/28/2011 5:02:07 PM
|
|
|
2 Replies
474 Views
(page loaded in 0.079 seconds)
Similiar Articles: Running a script/Invoking a function "in the background" - comp ...Hi, I'm using Matlab v7.10.0.499 (R2010a) for Windows. I want to know if there is any way that, once you have started matlab, run a script or call a function "in the ... Batch mode. Run the script in the background - comp.soft-sys.math ...Running a script/Invoking a function "in the background" - comp ... Batch mode. Run the script in the background - comp.soft-sys.math ... Running a script/Invoking a ... how to get the status from scripts running in the background ...Hi all, I need to get a shell script (on Sun Servers) run from ... Running a script/Invoking a function "in the background" ... How can I get a Javascript command to run ... Calling VB script from Matlab GUI - comp.soft-sys.matlab ...Running a script/Invoking a function "in the background" - comp ..... Visual basic - comp.soft-sys.matlab ..... to execute Matlab in the background to process the stored ... Execute Bash script using Cygwin - comp.soft-sys.matlabRunning a script/Invoking a function "in the background" - comp ... Execute Bash script using Cygwin - comp.soft-sys.matlab... with the system and dos functions. question marks appearing in email - comp.sys.mac.appsRunning a script/Invoking a function "in the background" - comp ... question marks appearing in email - comp.sys.mac.apps We use Apple Mail with an Apple Server running ... a unix script to send email notification when a sas batch job ...And I hope this script can function this way: when I type "./AutoNotify freq.sas", it will 1, run freq.sas in background, 2, and will ... the following 2 things: > 1, invoke ... How can I get a Javascript command to run a Shell script? - comp ...Hi all, I need to get a shell script (on Sun Servers) run ... it a link, or make it a javascript function ... on Sun Servers) run from ... Running a script/Invoking a ... batch mode - comp.soft-sys.matlabThe problem is that the script could have functions with ... Run the script in the background - comp.soft-sys.math ... ... to do the following 2 things: 1, invoke a ... Executing Matlab code using Visual basic - comp.soft-sys.matlab ...I need to execute Matlab in the background to process the stored data. How do I invoke the matlab ... Example — Running MATLAB Function from Visual Basic .NET Program ... Running a script/Invoking a function "in the background" - comp ...Hi, I'm using Matlab v7.10.0.499 (R2010a) for Windows. I want to know if there is any way that, once you have started matlab, run a script or call a function "in the ... PHP :: Invoke Command In BACKGROUNDI do not know how to call it to run in the background like we do when we ... Invoke A Script In A Table TD; Invoke PHP_FUNCTION From Within The Extension? 7/21/2012 5:43:38 PM
|
|
|
|
|
|
|
|
|