E
Emil Hjalmarson
Guest
Hi,
I would like my SKILL program to halt for a few seconds while I wait for
a MATLAB program to write some data to a file that are to be accessed by
the SKILL script. Currently I solve the task by letting the SKILL script
try to access the file continuously while the MATLAB program executes.
However, this is a dirty solution and it steals a lot of CPU time so
there must be some better solution. Any suggestions?
I also have a more general question. Is there a better way, than using
temporary files, to pass data between MATLAB and SKILL? I have looked
briefly at IPC in the manual. However, since the SKILL script is the
slave process I would like MATLAB to be in control of things I do not
want to start MATLAB as a child process to the SKILL script. Is there
some way to "hook-up" with a process that is already running?
Best regards,
Emil Hjalmarson
I would like my SKILL program to halt for a few seconds while I wait for
a MATLAB program to write some data to a file that are to be accessed by
the SKILL script. Currently I solve the task by letting the SKILL script
try to access the file continuously while the MATLAB program executes.
However, this is a dirty solution and it steals a lot of CPU time so
there must be some better solution. Any suggestions?
I also have a more general question. Is there a better way, than using
temporary files, to pass data between MATLAB and SKILL? I have looked
briefly at IPC in the manual. However, since the SKILL script is the
slave process I would like MATLAB to be in control of things I do not
want to start MATLAB as a child process to the SKILL script. Is there
some way to "hook-up" with a process that is already running?
Best regards,
Emil Hjalmarson