| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Parallel Computing Toolbox |
| Contents | Index |
| Learn more about Parallel Computing Toolbox |
str = getDebugLog(sched, job_or_task)
str | Variable to which messages are returned as a string expression. |
sched | Scheduler object referring to mpiexec, Microsoft Windows HPC Server (or CCS), Platform LSF, PBS Pro, or TORQUE scheduler, created by findResource. |
job_or_task | Object identifying job, parallel job, or task whose messages you want. |
str = getDebugLog(sched, job_or_task) returns any output written to the standard output or standard error stream by the job or task identified by job_or_task, being run by the scheduler identified by sched. You cannot use this function to retrieve messages from a task if the scheduler is mpiexec.
Construct a scheduler object so you can create a parallel job. Assume that you have already defined a configuration called mpiexec to define the properties of the scheduler object.
mpiexecObj = findResource('scheduler', 'Configuration', 'mpiexec');
Create and submit a parallel job.
job = createParallelJob(mpiexecObj);
createTask(job, @labindex, 1, {});
submit(job);
Look at the debug log.
getDebugLog(mpiexecObj, job);
findResource, createJob, createParallelJob, createTask
![]() | getCurrentWorker | getFileDependencyDir | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |