runing two Matlab file at the same time

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

 採用された回答

Walter Roberson
Walter Roberson 2012 年 8 月 18 日

0 投票

You can start two different MATLAB sessions.
Or if you have the parallel processing toolbox, there are various facilities that can be used.

5 件のコメント

Azzi Abdelmalek
Azzi Abdelmalek 2012 年 8 月 18 日
thanks Walter, starting two matlab session is a good idea, is it possible to run them at the same time(the two m files), i mean trigger them at a certain time?
Walter Roberson
Walter Roberson 2012 年 8 月 18 日
You would have some issues in synchronizing the two operations.
If you are using MS Windows, my understanding is that there is a Task Scheduler.
If you are using Linux or OS-X, use cron
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 8 月 18 日
the m file will be run on matlab environement; how is it possible to use windows Task Scheduler?
Azzi Abdelmalek
Azzi Abdelmalek 2012 年 8 月 18 日

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')
   end  
   file1 

anyway thanks for your help

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

製品

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by