Has anyone ever used the TaskMaster to schedule matlab scripts? I've always used the Windows Task Scheduler, but I like the idea of keeping things neat in LN. Thoughts on this? What would the options be?
File Name: C:\folder\script.m
Command Line Options: "C:\Program Files\MATLAB\R2012b\bin\matlab.exe"
Start in: C:\folder\
The above starts matlab, but doesn't execute the script.
Thanks
edit:
Answer: Yes, you can. One solution is to create a .bat file and include the following line for each script you wish to schedule:
"C:\path\to\bin\matlab.exe" -r mfile
* Last updated by: AMK on 2/27/2013 @ 11:08 AM *
So wouldn't it be the following?
Filename matlab.exe
Options -r mfile
Start c:\folder\
hi there AMK
i am trying to send an email using matlab and task master.
i am struggeling with task masker and the commands
can you please share what you entered in taskmaster to successfully run the matlab.m
This is an old post so you may not hear from AMK. But I recommend their approach - just put the commands into a batch file and launch it with taskmaster.
Thank you pokeeffe for the response.
It worked eventually using the method Sam listed
There is also an option in the command line that closes matlab after it ran the script.