photo

Raymond Norris

MathWorks

Last seen: 4 days ago Active since 2003

Followers: 0   Following: 0

Message

Statistics

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

View badges

Feeds

View by

Answered
How to communicate with two Raspberri Pis from MATLAB in parallel
I would suggest creating the raspberry connections on the workers, before calling parfor, with parallel.pool.Constant tx = para...

2 months ago | 1

Answered
Configure RHEL9 firewall to allow Matlab parallel server/worker communication
I would suggest starting with this article Requirements and Ports for MATLAB Parallel Server - MATLAB & Simulink (mathworks.com...

5 months ago | 0

Solved


MATLAB Basic: rounding
Do rounding near to zero Example: -8.8, answer -8 +8.1 answer 8

5 months ago

Answered
Parallel Simulation Error using parfor and parpool
Rather than parfor, you might consider looking at parsim.

7 months ago | 0

Answered
How to run simulation in multiple device simultaneously?
Look at MATLAB Parallel Server. Configure one of them to run MATLAB job scheduler (MJS) and then use the remaining cores to run...

7 months ago | 0

Answered
Simulink: database toolbox connection fails in Parallel Computing parfor loop?
To summarize: You're running a single Simulink model (my_model), in which you have a block (Level-2 S-Function for MongoDB) tha...

8 months ago | 0

Answered
Multiple errors- Not that great at Matlab :(
The parallel for-loop is exposing an issue you would find if you ran it with a serial for-loop, namely Error using interp1>resh...

8 months ago | 1

Answered
communicatingJobWrapper.sh file default location moved in 2022a?
Hi @Christopher McCausland. The Slurm plugin scripts are now posted on GitHub GitHub - mathworks/matlab-parallel-slurm-plugin ...

8 months ago | 1

| accepted

Answered
Using 3rd party job scheduler to make a local high processing computer of multiple pcs
Hi @Hasan Khanzada. Have you checked that your university doesn't (A) have MATLAB Parallel Server and (B) if so, already have a...

9 months ago | 0

| accepted

Answered
Attempt to execute SCRIPT interp2 as a function:
Run edit /Applications/MATLAB_R2020a.app/toolbox/matlab/polyfun/interp2 and show us what the first couple of lines look like. ...

9 months ago | 0

Answered
fitrtree takes forever to run in MATLAB 2022a
Hi @Richard Fiifi Annan. I would suggest you contact MathWorks Technical Support to look into this.

9 months ago | 0

| accepted

Answered
Simulink Block 'To File' savings during Parsim
Hi @Elias Julian Hempen. parsim will append a number after the MAT-file. Take for example the following model = 'elias'; loa...

9 months ago | 0

| accepted

Answered
Cancel parfeval with a uiprogressdlg
Hi @Sylvain Chupin. A couple of comments/suggestions When you start up the pool, pool = gcp("nocreate"); if ...

9 months ago | 0

| accepted

Answered
License Manager Error -139
Products which have a licensed checked out should not be affected by a license manager restart (unless it's an exorbitant long r...

9 months ago | 0

Answered
Updating variable inside parfor
The example Use a DataQueue Object and parfor to Update a Wait Bar in Send and listen for data between client and workers - MA...

9 months ago | 0

| accepted

Answered
render process was terminated: TS_PROCESS_WAS_KILLED
I suspect worker(s) are crashing because of out of memory issues. What size AWS instance are you using? Do you have a sense of...

9 months ago | 0

Answered
Code Fails to Write to Folder that has Correct Write Permissions
The issue turned out to be related to a symlink. Paul was pointing to a folder in his home directory that was symbolically link...

9 months ago | 0

| accepted

Answered
Parallel Computing for One Simulation
This is a bit tough to answer without seeing a bit of the code. For starters, your code might already be using most (all) of yo...

11 months ago | 0

Answered
Home License on AWS
I believe the MATLAB Home License can be installed on up to two machine (can only used on one machine at a time). In theory, th...

11 months ago | 0

Answered
All workers aborted during execution of parfor loop
When I see The client lost connection to worker 1. This might be due to network problems, or the interactive communicating job ...

11 months ago | 0

Answered
change default parpool in matlab.rc
R2023a added a Property to your profile, PreferredPoolNumWorkers, which defaults to min(NumWorkers,32) Therefore, if NumWorker...

11 months ago | 0

Answered
Set the number of parallel workers (optimization)
64, though you can try more. You might find a 10-20% improvement as you add more workers (most likely not 2x as you get to 128)...

11 months ago | 0

Answered
Dot indexing is not supported for variables of this type on a parfor line with no dot indexing.
My guess is that it has to do with your ActiveX Server, specifically if Veh_TT_measurement is used in your parfor. See if this ...

11 months ago | 0

Answered
Queue simulation of two parallel servers
If I'm reading this right, I think this code for y=1:10000 inter_arrival_times(y) = exprnd(1/arrival_rate_m); arrival...

12 months ago | 0

| accepted

Answered
Parallel Pool No data errors
Glad you mentioned that you unplugged the Ethernet cable, that helped me track this down a bit (I think). It appears as though ...

1 year ago | 0

Answered
Does the MATLAB python interface support parallel processing?
I can't see a single python session being the issue. I'm betting you ran out of memory. Try the following I'm assuming you ha...

1 year ago | 0

Answered
Matlab Parallel Computing on Cluster - File not found (Task8-32.in.mat)
Hi @Antonio Cioffi. I'm not sure why mpiexec is crashing, but I can tell you why you're getting validation issues. When you sw...

1 year ago | 0

Answered
How does parallel computing toolbox works in nested loop?
MATLAB will run the inner parfor loop as a for-loop. Therefore, in your example, where you have a parallel pool of 8 workers, 2...

1 year ago | 0

| accepted

Answered
SPMD Video Writing with dynamic frames
This might be an approach. Quite a bit of this is pseudo code and probably needs refining to synchronize the images into correc...

1 year ago | 0

Answered
Parallel Computing Toolbox and parsim: two different versions of Matlab?
Consider using parfor and sim, but read this first Using sim Function Within parfor - MATLAB & Simulink (mathworks.com)

1 year ago | 0

Load more