Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

runing two Matlab file at the same time

Asked by Azzi Abdelmalek on 18 Aug 2012

is it possible to run more then one m file at the same time ?


Azzi Abdelmalek


1 Answer

Answer by Walter Roberson on 18 Aug 2012
Accepted answer

You can start two different MATLAB sessions.

Or if you have the parallel processing toolbox, there are various facilities that can be used.


Azzi Abdelmalek on 18 Aug 2012

the m file will be run on matlab environement; how is it possible to use windows Task Scheduler?

Azzi Abdelmalek on 18 Aug 2012

i think there is a way in matlab to synchronize. if i want to run the two file at 19:30:00

   while datenum(datestr(clock,'HH:MM:SS'))<datenum('19:30:00')

anyway thanks for your help

Walter Roberson

Contact us