Feeds
已回答
Parallel processing of data stream
Starting in R2025a you can use the new "any-destination" PollableDataQueue to achieve this more easily. Unlike the old PollableD...
Parallel processing of data stream
Starting in R2025a you can use the new "any-destination" PollableDataQueue to achieve this more easily. Unlike the old PollableD...
4 months 前 | 1
已回答
Can I limit number of items in parallel.pool.PollableDataQueue?
Starting with R2025a you can use the new "any-destination" PollableDataQueue to solve several of your problems. Unlike the old D...
Can I limit number of items in parallel.pool.PollableDataQueue?
Starting with R2025a you can use the new "any-destination" PollableDataQueue to solve several of your problems. Unlike the old D...
4 months 前 | 0
已回答
PollableDataQueues / competing while loops
From R2025a you can use the new "any-destination" PollableDataQueue to solve this problem. You can create it like this: queue =...
PollableDataQueues / competing while loops
From R2025a you can use the new "any-destination" PollableDataQueue to solve this problem. You can create it like this: queue =...
4 months 前 | 0
已回答
Communicate with worker through client
From R2025a you can use the new "any-destination" PollableDataQueue to more easily communicate between the client and workers, o...
Communicate with worker through client
From R2025a you can use the new "any-destination" PollableDataQueue to more easily communicate between the client and workers, o...
4 months 前 | 1
已回答
Share PollableDataQueue between Matlab sessions
DataQueue and PollableDataQueue are meant for sending data between the client and worker, or between workers in the same paralle...
Share PollableDataQueue between Matlab sessions
DataQueue and PollableDataQueue are meant for sending data between the client and worker, or between workers in the same paralle...
4 months 前 | 0
已回答
How can I send a variable from the client to a running function on a worker?
Starting in R2025a, it's possible to use the new "any-destination" PollableDataQueue to greatly simplify Ed's solution. The any-...
How can I send a variable from the client to a running function on a worker?
Starting in R2025a, it's possible to use the new "any-destination" PollableDataQueue to greatly simplify Ed's solution. The any-...
4 months 前 | 0
已回答
How can I send data on the fly to a worker when using parfeval?
Starting in R2025a, it is possible to use the new "any-destination" PollableDataQueue to solve this problem. It makes it much ea...
How can I send data on the fly to a worker when using parfeval?
Starting in R2025a, it is possible to use the new "any-destination" PollableDataQueue to solve this problem. It makes it much ea...
4 months 前 | 0
已回答
Passing output from afterEach to variable
Starting in R2025a you can use the new "any-destination" parallel.pool.PollableDataQueue to more easily send data from the clien...
Passing output from afterEach to variable
Starting in R2025a you can use the new "any-destination" parallel.pool.PollableDataQueue to more easily send data from the clien...
4 months 前 | 0
已回答
How to implement a producer consumer pattern with multiple consumers and a common queue?
Starting from R2025a you can use the new "any-destination" PollableDataQueue to solve this problem. The any-destination Pollable...
How to implement a producer consumer pattern with multiple consumers and a common queue?
Starting from R2025a you can use the new "any-destination" PollableDataQueue to solve this problem. The any-destination Pollable...
7 months 前 | 2
已回答
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...
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...
3 years 前 | 0
| 已接受
已回答
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...
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...
4 years 前 | 0
| 已接受
已回答
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...
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...
4 years 前 | 0
已回答
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 ...
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 ...
4 years 前 | 0
| 已接受
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
5 years 前 | 0
已回答
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...
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...
6 years 前 | 0
| 已接受
已解决
Select every other element of a vector
Write a function which returns every other element of the vector passed in. That is, it returns the all odd-numbered elements, s...
8 years 前
已解决
Pizza!
Given a circular pizza with radius _z_ and thickness _a_, return the pizza's volume. [ _z_ is first input argument.] Non-scor...
8 years 前
已解决
Determine if input is odd
Given the input n, return true if n is odd or false if n is even.
8 years 前
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
8 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
8 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
8 years 前