parallel simulations with matlab and simulink -凯发k8网页登录

parallel simulations with matlab and simulink

execute massive simulations in parallel and scale them from desktop to clusters and cloud.

use parallel computing to execute multiple simulations simultaneously by leveraging multicore processors or compute clusters. this capability enables you to:

  • set-up, run, and manage multiple simulations in parallel within few steps
  • speed up your workflows
  • off-load execution of long-running computations to the background or remote hardware
  • scale your simulations to clusters and cloud
reduce simulation time by using parallel simulation capability in simulink

using matlab and simulink for parallel simulations

set-up and run parallel simulations

use the to specify parameter values and run simulations in parallel by clicking on "run-all." this eliminates the need for scripting and enables immediate setup of parallel simulations. for better customization, you can create a simulation input object and employ the parsim command. parsim command automatically generates a parallel pool of workers if one is not already open.

by using the multiple simulation panel or the parsim command, simulink distributes simulations across available cpu resources, resulting in faster overall simulation time. also, after simulations begin, you can monitor progress and view results using the simulation manager.


use the batchsim function to offload simulation to local or remote resources

offload simulations on remote resources

using the batchsim command is a convenient method for distributing simulations to a compute cluster. with batchsim, you can offload simulations to run in the background on either your local resources or remote hardware where matlab parallel server is installed. this allows you to continue working on other tasks while the batch job executes.


leverage built-in parallel simulink functionality

in addition to using multiple simulations panel, parsim, and batchsim functions to run simulink simulations, there are several simulink products which come equipped with built-in parallel capability, including the reinforcement learning toolbox, simulink design optimization, simulink test, and simulink coverage. with these tools, you can run simulations in parallel seamlessly, without the need for writing additional code.

parallel simulations can be enabled for simulink products by a preference or flag setting.

manage multiple simulations with simulink simulation manager

monitor, inspect, and visualize multiple simulations simultaneously in a single window with simulation manager. the simulation manager is fully integrated with the parallel simulation functions, which allows for easy selection and viewing of individual simulations. additionally, you can visualize simulation data dynamically to analyze the trends across the simulations, and you can run diagnostic tasks and abort simulations directly from the simulation manager interface.

simulink data inspector integrates with simulation manager, allowing examination of simulation results in simulation data inspector.


execute massive parallel simulation on clusters and in the cloud

prototype, debug, and run simulations in parallel on the local machine with parallel computing toolbox. you can easily scale them to clusters with matlab parallel server and to the cloud with minimum code change. scale your simulink simulations in public cloud platforms such as amazon® web services (aws) or microsoft azure to develop using high-end cloud compute resources like multi-cpus, multi-gpus, or clusters. with mathworks cloud center, you can create, manage, and access public cloud resources for matlab/simulink and matlab parallel server using your aws credentials.

by running simulations on a cluster or in the cloud, you can obtain insights more quickly and access different execution environments from your desktop just by changing your cluster profile.

execute on cluster or cloud resources without recoding

30-day free trial

get started
网站地图