Task scheduling for Matlab
27 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Josh Jones
il 17 Lug 2013
Risposto: Tharikaa Ramesh Kumar
il 12 Giu 2024
I realize this may not be exactly related to Matlab, and I've read all the other posts but have not had any success. I am trying to run a Matlab script with Task Scheduler on Windows 7. My Task scheduler command is:
cd C:\Radar_code\ matlab -r "radarprocessing.m; pause(10); exit"
and the error I keep getting in Task Scheduler is:
The system cannot find the file specified. (0x80070002)
I've tried lots of different things but it hasn't worked yet. Thanks for your help in advance.
1 Commento
Tharikaa Ramesh Kumar
il 12 Giu 2024
Do you run time-consuming tasks on MATLAB and Simulink? Do you wish you could schedule them and run them in the background, unattended? How do you solve this question today?
MATLAB Product team is very interested to talk to you and learn from your experience. Please participate in this brief survey (6 questions).
Risposta accettata
Friedrich
il 18 Lug 2013
Modificato: Friedrich
il 18 Lug 2013
Hi,
this command seems pretty strange. I would rather expect that you select the MATLAB.exe as program to run in the TaskScheduler and as optional arguments use
-r "cd('C:\Radar_code\');radarprocessing.m; pause(10);exit"
Or set the start in folder to C:\Radar_code.
Here is picture:
- Click on the browse button and select the matlab.exe
- In the "Add arguments" use -r "radarprocessing.m; pause(10);exit"
- As "Start in" set the C:\Radar_code folder
Più risposte (3)
Tharikaa Ramesh Kumar
il 12 Giu 2024
Do you run time-consuming tasks on MATLAB and Simulink? Do you wish you could schedule them and run them in the background, unattended? How do you solve this question today?
MATLAB Product team is very interested to talk to you and learn from your experience. Please participate in this brief survey (6 questions).
0 Commenti
Vedere anche
Categorie
Scopri di più su Startup and Shutdown in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!