Community Profile

photo

Thomas Falch

MathWorks

Last seen: 12 días hace Con actividad desde 2017

Estadísticas

All
  • Knowledgeable Level 2
  • Revival Level 1
  • First Answer
  • Solver

Ver insignias

Content Feed

Ver por

Respondida
How Can I pass an open serialport-handle to a parallel worker?
You need to use the function handle version of parallel.pool.Constant (which is what https://www.mathworks.com/matlabcentral/ans...

casi 2 años hace | 0

| aceptada

Respondida
distributed arrays slow with batch jobs
A batch job with the 'Pool' option ( a "batch-pool job") will end up starting the equivalent of a interactive pool, but using on...

más de 2 años hace | 0

| aceptada

Respondida
Continue to next iteration in for-loop while saving data
You can use parfeval to run save in the background on a worker like this: pool = parpool('local', 1) % Start pool with one work...

más de 2 años hace | 0

Respondida
Using the Parallel Computing Toolbox for simultaneous evaluation of multiple Datasets
Hi Michael, Using a parfor loop would be a good solution to this problem. Local variables like "res" and "path_fixed" inside ...

casi 3 años hace | 0

| aceptada

Respondida
Get sensor data and plot simultaneously using workers any solution?
Depending upoin your requirements it may be possible to have one worker read the data from the device, and send it back to the M...

más de 3 años hace | 0

Respondida
How can I speed-up 3 functions without terminating workers?
If you use a parpool you can start up the MATLAB workers once, and then use them to execute e.g. parfor loops, or execute functi...

más de 3 años hace | 0

Respondida
Local parpool cannot initiate following specific command in startup.m
The MATLAB workers of the parallel pool will also execute the startup.m script. Since this script contains input(), all the work...

más de 4 años hace | 0

| aceptada