Community Profile

photo

Raymond Norris

MathWorks

Last seen: 1일 전 2003 이후 활성

Statistics

All
  • Revival Level 2
  • 12 Month Streak
  • Knowledgeable Level 3
  • Personal Best Downloads Level 2
  • First Review
  • 5-Star Galaxy Level 3
  • First Submission
  • First Answer
  • Solver

배지보기

Content Feed

보기 기준

답변 있음
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 ...

3일 전 | 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...

3일 전 | 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...

3일 전 | 0

답변 있음
Using parfor eliminates use of multithreading
Check the cluster objects' NumThreads property. For instance local = parcluster('local'); local.NumThreads = <set-number-of-th...

6일 전 | 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...

12일 전 | 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...

16일 전 | 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...

16일 전 | 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...

23일 전 | 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...

23일 전 | 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...

26일 전 | 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...

27일 전 | 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...

약 1달 전 | 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...

약 1달 전 | 1

답변 있음
How to use All cores
To increase the number of permissible local workers, you could run local = parcluster('local'); local.NumWorkers = 44; pool =...

약 1달 전 | 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

| 수락됨

답변 있음
Is there a way to start a parellel pool with maximum available workers as the cores on the machine?
pool = parpool('local',maxNumCompThreads); Alternatively, if you're running this through a scheduler (e.g. PBS), you could quer...

약 2달 전 | 0

답변 있음
Batch jobs of similar data size and function files are taking different times for job completion, though all are started at same time.
Not sure why the 1st task isn't finishing, but here's another approach. Keep what you have, but rather than using batch, use pa...

약 2달 전 | 1

| 수락됨

해결됨


Maximum value in a matrix
Find the maximum value in the given matrix. For example, if A = [1 2 3; 4 7 8; 0 9 1]; then the answer is 9.

약 2달 전

답변 있음
Running two loop together at the same time
Try using parfeval, such as the following pseudo code function start_Callback(hObject, eventdata, handles) pool = gcp('nocreat...

약 2달 전 | 0

| 수락됨

답변 있음
How to opening 1 instance of MATLAB from MATLAB, but accessing it multiple times
Using the Parallel Computing Toolbox, look at parpool and parfeval. parpool will start a N number of "workers" (i.e. headless i...

2달 전 | 0

| 수락됨

답변 있음
Cannot start parallel pool R2020a
Do you have other versions of MATLAB installed? If so, which? Had your run parpool successfully on those version(s)? One sugg...

2달 전 | 0

답변 있음
parFor Worker unable to find file. Unrecognized function or variable 'parameters'
As Edric mentioned, this is/may not parallizable. But if it were, you'd need to make modifications to the for-loop. You've inc...

2달 전 | 0

답변 있음
Parfor general question and thought
A parfor is run synchoneously. That is, the parfor is blocking until complete. By that logic, two parfor loops can only run se...

3달 전 | 0

답변 있음
Error using Parfor "Unable to classify the variable 'Sort'"
Try this refactoring the for-loop a bit parfor k=1:Np flag = 0; %#ok<PFTUSW> for i=1:(Nu-1) for j=(i+1):Nu ...

3달 전 | 0

| 수락됨

답변 있음
using parfor loop for marking the image/advice on other method for marking image
The issue is that your plotting in the parfor loop, which has no display. Create a DataQueue and pipe the data back to the clie...

3달 전 | 0

| 수락됨

더로드