| 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 |
QueuedFcn specifies the M-file function to execute when a job is submitted to a job manager queue.
The callback executes in the local MATLAB session, that is, the session that sets the property.
Note The QueuedFcn property is available only when using the MathWorks job manager as your scheduler. |
Usage | Job object |
Read-only | Never |
Data type | Callback |
QueuedFcn can be set to any valid MATLAB callback value.
Create a job and set its QueuedFcn property, using a function handle to an anonymous function that sends information to the display.
jm = findResource('scheduler','type','jobmanager', ...
'name','MyJobManager','LookupURL','JobMgrHost');
j = createJob(jm, 'Name', 'Job_52a');
set(j, 'QueuedFcn', ...
@(job,eventdata) disp([job.Name ' now queued for execution.']))
.
.
.
submit(j)
Job_52a now queued for execution.
![]() | PreviousTask | RcpCommand | ![]() |

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 |