回答済み
How can I get parallel computing toolbox?
Best to contact Technical Support (support@mathworks.com). They'll be able to explain your options.

2年以上 前 | 0

| 採用済み

回答済み
Can't find file on worker - Parallel Programming
You mean to say that folder is empty? At the top of the spmd, add this spmd getAttachedFilesFolder hydroNet.NetworkF...

2年以上 前 | 0

回答済み
Error when executing MATLAB app methods via parfeval and BackgroundWorker pool.
Do you have the Parallel Computing Toolbox? If so, try using a process-based pool (i.e., 'local') instead of a backgroundPool. ...

2年以上 前 | 0

回答済み
Cleaning parallel workers messages appears just immediately after running simulations when using parsim
I'm not a Simulink user, so bare with me in case I take you down the wrong path. I'm guessing you are setting the parsim RunInB...

2年以上 前 | 0

回答済み
How to make a multiple for-loop run faster, the function of which is to find the steady state?
Yuu ought to be able to change the last several lines as such end temp(m,1) = rmsep; end rmse = temp; With that sai...

2年以上 前 | 1

| 採用済み

回答済み
How to make a multiple for-loop run faster, the function of which is to find the steady state?
Can you elaborate a bit on the following: how are you measuring the time (walltime, tic/toc, profiler) how long it took to run...

2年以上 前 | 1

回答済み
Why is parallel poor button still gray and showing "No parallel poor" even already started?
It might be a bug that the icon isn't reflecting the state of the parallel pool properly. Nevertheless, I'm assuming you can ru...

2年以上 前 | 0

| 採用済み

回答済み
how to use fsolve in a parfor loop to reach a correct answer?
It shouldn't matter, but what is UseParallel option set to? You're using parfor and then is fsolve also using parfor (which res...

2年以上 前 | 0

回答済み
How to use the parfor function inside a for loop?
There's a bit of missing code here and some of it doesn't make quite sense, so I might be off on my solution. And, I'm going to...

2年以上 前 | 0

回答済み
"parfeval" and "backgroundPool" to create background progress bar
There are a couple of issues parfeval requires other input arguments and you need to pass in the function handle to DBWaitGUI2....

2年以上 前 | 0

| 採用済み

回答済み
Could not load Matlab parallel parpool.m in a C# wrapper
What is line #14 in driver_evaluate_callibration? And have you been able to successfully run this in MATLAB (not compiled)?

2年以上 前 | 0

回答済み
How to run Simulink and Matlab script run sequentially.
How are you running the Simulink model, interactively or with the sim command? If you run the model with the sim command, that ...

2年以上 前 | 0

回答済み
Is it possible to assign specific nodes in a batch job?
I'm gathering you're using the MATLAB job scheduler (MJS). If so, then no, MJS doesn't provide a way to specify which node(s) t...

2年以上 前 | 0

| 採用済み

回答済み
Parallel Computing Toolbox - Limit of number of workers - R2021a
Based on what your stating, I'm gather it's a single motherboard, with 32 sockets, each socket with 4 physical cores. Is that r...

2年以上 前 | 0

回答済み
Using parfor eliminates use of multithreading
Check the cluster objects' NumThreads property. For instance local = parcluster('local'); local.NumThreads = <set-number-of-th...

2年以上 前 | 2

| 採用済み

回答済み
Transparency violation error for cvx
It doesn't appear so. cvx_begin is calling assignin on line 41. This would be akin to calling local = parcluster('local'); p...

2年以上 前 | 0

回答済み
Worker unable to find mex file
I'm assuming you are using parpool? How are you setting the worker's path on the Linux cluster to find the MEX-file? One optio...

2年以上 前 | 0

| 採用済み

回答済み
Specify the parallel pool job timeout
So you doing something like the following cluster = parcluster; job = cluster.batch(@mycode,...., 'Pool',size); Then what you...

2年以上 前 | 0

回答済み
Restriction of functions run under parfeval
fprintf isn't inactive/not working, as much backgroundPool doesn't capture the "diary" of parfeval. This has the same behaviour...

2年以上 前 | 0

| 採用済み

回答済み
Please suggest me to write the parallel loop in MATLAB without the workers getting aborted during the course of execution? Thanks
The entire pool idles out, not a single worker. My guess is that a worker is crashing because of memory. Tell us a bit more t...

2年以上 前 | 0

| 採用済み

回答済み
Parallel pool hangs on startup for all versions of Matlab
Not sure why this would happen with every version of MATLAB. First try clearing out all the job files (this will destroy past j...

2年以上 前 | 0

回答済み
parfor slower than for
There are several considerations How many dedicated workers? Most often, more workers, the lower the amount of time. Amount of...

2年以上 前 | 0

回答済み
unrecognized function or variable in parfor
I don't have much time to look at this closer, so I'll give a couple of quick thoughts For starters, I would suggest going thro...

2年以上 前 | 1

回答済み
Parallel pool error, automatically clear jobstoragelocation
Look at my answer here for an option: https://www.mathworks.com/matlabcentral/answers/1440039-how-to-prevent-parpool-error#answe...

2年以上 前 | 1

回答済み
How to use All cores
To increase the number of permissible local workers, you could run local = parcluster('local'); local.NumWorkers = 44; pool =...

2年以上 前 | 0

回答済み
How can i run multiple callback functions based on a single event?
If you have the Parallel Computing Toolbox, then this might not be exactly what you're looking for, but it might get you started...

2年以上 前 | 0

回答済み
MATLAB crashes with only two lines in crash dump stack trace
This post isn't getting stack traces, but it might point you in the right direction: https://www.mathworks.com/matlabcentral/ans...

2年以上 前 | 0

回答済み
Parallelization in MATLAB R2018b
Please include how you're starting the parpool and how mex is being called. I suspect the issue is that the files required when...

2年以上 前 | 0

| 採用済み

回答済み
How to run a MATLAB file in for loop in batch file step by step
Try using the -wait switch. E.g. @echo off for /l %%x in (1, 1, 2) do ( call matlab -wait -nosplash -r "cd('H:\EngFiles\A...

2年以上 前 | 0

| 採用済み

回答済み
How to prevent parpool Error
There's a slight change it's because multiple jobs are running at the same time, all contending for the same subfolder. If so, ...

2年以上 前 | 1

| 採用済み

さらに読み込む