photo

Alvaro

MathWorks

Last seen: 7 days ago Active since 2022

Followers: 0   Following: 0

Programming Languages:
MATLAB
Spoken Languages:
English, Spanish

Statistics

  • Knowledgeable Level 2
  • 3 Month Streak
  • First Answer

View badges

Feeds

View by

Answered
Segmenting a long time period into small monthly or weekly block for http get requests
You should be able to generate sequences of time intervals with datetime: https://www.mathworks.com/help/matlab/matlab_prog/ge...

2 years ago | 0

Answered
Simulink not running script
These are warnings so your model should still be running but maybe the model is stuck or nothing is being logged. The top 4 wa...

2 years ago | 0

Answered
Is there a way to ensure MJS schedules workers on different servers instead of filling up each server one by one?
There might be a workaround with the startworker and stopworker scripts. https://www.mathworks.com/matlabcentral/answers/261215...

2 years ago | 0

Answered
Can Matlab2015a parallel toolbox run with HPC Server 2019? It
Unfortunately HPC server 2019 is not supported for MATLAB R2015a. However, I would recommend contacting support since they might...

2 years ago | 0

Answered
Slow computation time of parfor loop
If you wish to parallelize, lu already has built-in support for running in thread-based environments. https://www.mathworks.com...

2 years ago | 0

Answered
GPU and CPU Parallelization and Bicg Optimization
You cannot run a parfor loop in a GPU, but you can have each worker access a GPU to perform computations. https://www.mathworks...

2 years ago | 1

| accepted

Answered
larger computation time for every iteration of levenberg marquardt algorithm?
There is an implementation of the Levenberg–Marquardt algorithm in the Optimization Toolbox that you might find useful. https:/...

2 years ago | 0

Answered
Parallel operation processing using parfor for fast operation
There are some considerations about variables that you need to take into account when using parfor loops. https://kr.mathworks....

2 years ago | 0

| accepted

Answered
Stop an infinit function that is running in parallel with the remaining code, and get the outputs
https://www.mathworks.com/help/parallel-computing/parallel.pool.dataqueue.html

2 years ago | 1

Answered
Why matlab slow on dual AMD CPUs?
I am not sure why you are getting this performance drop with the AMD libraries, it might be a good idea reaching out to support ...

2 years ago | 0

Answered
Numerical integration with spmd on distributed arrays
trapz supports distributed arrays by default. https://www.mathworks.com/help/matlab/ref/trapz.html#refsect-extended-capabiliti...

2 years ago | 0

Answered
Parallel Computing Toolbox on M1 processors
As of MATLAB R2020b Update 3, yes. https://www.mathworks.com/matlabcentral/answers/641925-is-matlab-supported-on-apple-silicon-...

2 years ago | 1

| accepted

Answered
When I was designing the app of the simulink model, I encountered some problems using simulink.compile.configureForDeployment and could not change the model parameters.
Rapid accelerator is compiling your model into an executable. https://www.mathworks.com/help/simulink/ug/what-is-acceleration....

2 years ago | 0

Answered
How can I use GlobalSearch with Parallelization?
Try moving that call of run to its own function. https://stackoverflow.com/a/51898995

2 years ago | 0

Answered
Run Matlab parallel on multi-nodes of a remote cluster with SGE scheduler
I cannot access the link you gave but this might work: https://www.mathworks.com/matlabcentral/answers/326641-how-to-run-matlab...

2 years ago | 0

Answered
Using parfor loop to restructure large dataset
I agree with Mohammad that I would not expect parallelization to significantly speed up the rearranging of this struct since you...

2 years ago | 0

Answered
how to set corenumber on cluster for MATLAB+MPI-fortran parallel jobs
I am not too familiar with SLURM but from this question and others I think it looks good. https://www.mathworks.com/matlabcent...

2 years ago | 0

Answered
Notify a listener from a batch running job
It doesn't appear possible but you could try this: https://www.mathworks.com/matlabcentral/answers/1468956-can-i-notify-a-liste...

2 years ago | 0

Answered
Parallize vectorwise on GPU in Matlab using arrayfun
Have you tried parallelizing using parfor? https://www.mathworks.com/help/parallel-computing/parfor.html

2 years ago | 1

Answered
MATLAB Parallel Computing Toolbox and Process Priority Settings
The MATLAB central file linked in Edric's answer should let you modulate priorities when called within an spmd block: https://w...

2 years ago | 0

Answered
Windows Server 2012 & Matlab 2020a
There has been support for HPC Pack 2012 since MATLAB 2013b. https://www.mathworks.com/matlabcentral/answers/468284-when-was-ma...

2 years ago | 0

Answered
Big Data Analysis with Linear Regression
It's not straighforward to calculate the number of workers that you would need to process your data in less than 2 hours. http...

2 years ago | 0

Answered
Getting top level of System Composer Simulink model
You can change the stop time of the model by running set_param('ArchIOD1', 'StopTime', '500')

2 years ago | 0

Answered
Error message when using AMaSiNe published package : Unable to perform assignment because the indices on the left side are not compatible with the size of the right side.
Note that AP_rough_best is being defined by this line [AP_rough_best]=find(rough_search==max(max(rough_search))); which is lat...

2 years ago | 0

Answered
parfor gives different result to for
When using parfor, variables that are initialized within the loop are temporary and not passed onto other iterations. MATLAB is ...

2 years ago | 0

Answered
how to change uiLamp color in parfeval function?
Using parfeval or parfor is allowed in the App Designer. However, a quick test I just ran does not allow for modifying app objec...

2 years ago | 0

Answered
Parfor problem --- "Array construction from ByteBuffer Threw an exception"
The following code runs with no issues in my version of MATLAB R2022b. load patients % Create test table Tablename = table(Ge...

2 years ago | 0

| accepted

Answered
Surf plot 3D like the simulation manager
In MATLAB R2022b, if you are using the Simulation Manager, then there is already an incorporated function to generate a surface ...

2 years ago | 0

Answered
Simulink and ROS2 - How to dynamically adjust the number of simulated systems to the number of robots
If you have already set up your system using parsim, then you could set StopOnError to 'on' which should stop the simulations if...

2 years ago | 0

Answered
help with parallel simulation and setting up parallel worker workspaces, getting error with
You can set a diary for each worker and print the iteration that a particular worker is working on as well as any parameters tha...

2 years ago | 0