Feeds
已回答
Block callback function in Simulink model cannot access workspace variable when executed with parsim
H David, Variables specified on the SimulationInput object are not available in model or block callbacks. I would suggest using...
Block callback function in Simulink model cannot access workspace variable when executed with parsim
H David, Variables specified on the SimulationInput object are not available in model or block callbacks. I would suggest using...
4 years 前 | 1
已回答
Parsim Rapid Accelerator Mode setting Start Time and Stop Time
Hi Betsy, You can set StartTime and StopTime as ModelParameters on the SimulationInput object in = in.setModelParameter('Start...
Parsim Rapid Accelerator Mode setting Start Time and Stop Time
Hi Betsy, You can set StartTime and StopTime as ModelParameters on the SimulationInput object in = in.setModelParameter('Start...
4 years 前 | 1
| 已接受
已回答
parsim does not appear to recognise Enumerations
Attach the m-file where the enum is defined using the 'AttachedFiles' option on parsim. out = parsim(in, 'AttachedFiles', {'fu...
parsim does not appear to recognise Enumerations
Attach the m-file where the enum is defined using the 'AttachedFiles' option on parsim. out = parsim(in, 'AttachedFiles', {'fu...
5 years 前 | 0
| 已接受
已回答
How to store outputs from Parsim function ?
Hi Marek, There are several ways to save the output from a simulation. Please see the link below https://www.mathworks.com/hel...
How to store outputs from Parsim function ?
Hi Marek, There are several ways to save the output from a simulation. Please see the link below https://www.mathworks.com/hel...
5 years 前 | 0
| 已接受
已回答
How can I vary not only one parameter with parsim but several parameters, for which I want to change values one after teh other witth the command parsim?
Hi Stephan, Here is an example which shows show to vary multiple parameters https://www.mathworks.com/help/simulink/slref/rapi...
How can I vary not only one parameter with parsim but several parameters, for which I want to change values one after teh other witth the command parsim?
Hi Stephan, Here is an example which shows show to vary multiple parameters https://www.mathworks.com/help/simulink/slref/rapi...
5 years 前 | 0
已回答
How can I initalize bus objects with parsim in rapid acc mode?
Hi Sebastian, bus_object is not a variable used in the model and thus when the model is compiled for rapid accelerator, it does...
How can I initalize bus objects with parsim in rapid acc mode?
Hi Sebastian, bus_object is not a variable used in the model and thus when the model is compiled for rapid accelerator, it does...
5 years 前 | 0
| 已接受
已回答
Set From Workspace Block from Function
Hi Alec, You can use the setVariable method on the SimulationInput object to specify a new value for the variable Here is your...
Set From Workspace Block from Function
Hi Alec, You can use the setVariable method on the SimulationInput object to specify a new value for the variable Here is your...
5 years 前 | 0
已回答
Working with the CPI-tyre block and parsim
Hi Sönke, Using addAttachedFiles to attach the file is the right approach. The file will be put in some temporary location and ...
Working with the CPI-tyre block and parsim
Hi Sönke, Using addAttachedFiles to attach the file is the right approach. The file will be put in some temporary location and ...
6 years 前 | 0
已回答
Using parsim, where do the executables go?
Hi Arvid, Try building the model locally, i.e. run Simulink.BlockDiagram.buildRapidAcceleratorTarget(modelname); on your "host"...
Using parsim, where do the executables go?
Hi Arvid, Try building the model locally, i.e. run Simulink.BlockDiagram.buildRapidAcceleratorTarget(modelname); on your "host"...
6 years 前 | 0
已回答
How are models with a model reference hierarchy updated in parsim
parsim should be able to use the cache files for parallel simulations on the workers. There are a few cases where the models may...
How are models with a model reference hierarchy updated in parsim
parsim should be able to use the cache files for parallel simulations on the workers. There are a few cases where the models may...
6 years 前 | 0
| 已接受
已回答
Parsim with different models
Hi Wenfeng, parsim only supports running parallel simulations of a single model (with different parameter values). I will creat...
Parsim with different models
Hi Wenfeng, parsim only supports running parallel simulations of a single model (with different parameter values). I will creat...
6 years 前 | 0
| 已接受
已回答
Changing number of workers while running simulations?
Hi Bruce, Unfortunately, it is currently not possible to change the number of workers while the simulations are in progress. ...
Changing number of workers while running simulations?
Hi Bruce, Unfortunately, it is currently not possible to change the number of workers while the simulations are in progress. ...
6 years 前 | 0
| 已接受
已回答
How can I use parsim in combination with a Simulink Variant Subsystem
Hi Simon, |Variant_1|, |Variant_2|, and |Variant_Switch|, along with any other variables used by the model and defined in the...
How can I use parsim in combination with a Simulink Variant Subsystem
Hi Simon, |Variant_1|, |Variant_2|, and |Variant_Switch|, along with any other variables used by the model and defined in the...
6 years 前 | 1
| 已接受
已回答
sim command for parameter sweeps
R2017a introduced the parsim command to make it easier to do parameter sweeps (and more) <https://www.mathworks.com/help/simu...
sim command for parameter sweeps
R2017a introduced the parsim command to make it easier to do parameter sweeps (and more) <https://www.mathworks.com/help/simu...
6 years 前 | 0
已回答
Exectuing simulink model that referres to workspace variables with the batch command
batch supports a Workspace option which could be used to specify workspace variables. If you want to use parallel computing R201...
Exectuing simulink model that referres to workspace variables with the batch command
batch supports a Workspace option which could be used to specify workspace variables. If you want to use parallel computing R201...
6 years 前 | 0
已回答
I have had this issue every time i try to install
Does the following help? <https://www.mathworks.com/matlabcentral/answers/97147-why-do-i-get-an-error-about-an-incorrect-byt...
I have had this issue every time i try to install
Does the following help? <https://www.mathworks.com/matlabcentral/answers/97147-why-do-i-get-an-error-about-an-incorrect-byt...
6 years 前 | 0
| 已接受
已回答
2016b and later Disk Activity
Adding link to a related question <https://www.mathworks.com/matlabcentral/answers/385898-parsim-function-consumes-lot-of-mem...
2016b and later Disk Activity
Adding link to a related question <https://www.mathworks.com/matlabcentral/answers/385898-parsim-function-consumes-lot-of-mem...
6 years 前 | 0
已回答
How can I run my simulation for multiple scenarios and save the measurement result to 'To file' block corresponding each scenarios? (Normal Mode simulation)
If you are using R2017a or later, you could create an array of SimulationInput objects (https://www.mathworks.com/help/simulink/...
How can I run my simulation for multiple scenarios and save the measurement result to 'To file' block corresponding each scenarios? (Normal Mode simulation)
If you are using R2017a or later, you could create an array of SimulationInput objects (https://www.mathworks.com/help/simulink/...
6 years 前 | 0
已回答
Random Variable in Parallel Simulation
Here is an example to use different random seeds for each simulation in(1:12) = Simulink.SimulationInput(mdlName); for i...
Random Variable in Parallel Simulation
Here is an example to use different random seeds for each simulation in(1:12) = Simulink.SimulationInput(mdlName); for i...
6 years 前 | 0
| 已接受
已回答
Run rng Function Before Each Simulation Run
The PreSimFcn expects a SimulationInput object to be returned (in case any output is returned) and in this case 'rng' returns a ...
Run rng Function Before Each Simulation Run
The PreSimFcn expects a SimulationInput object to be returned (in case any output is returned) and in this case 'rng' returns a ...
6 years 前 | 0
| 已接受
已回答
Simulink parallel Simulation Error
This problem is most likely due to the MATLAB install on the cluster not having Simulink installed. Could you please verify if t...
Simulink parallel Simulation Error
This problem is most likely due to the MATLAB install on the cluster not having Simulink installed. Could you please verify if t...
6 years 前 | 0
已回答
Cryptic error when using parsim
I know this was created a while ago but I am posting in case the OP can provide some more details. This looks like a bug. Would ...
Cryptic error when using parsim
I know this was created a while ago but I am posting in case the OP can provide some more details. This looks like a bug. Would ...
6 years 前 | 0
已回答
Does RAM memory afect the maximum number of simulation with parsim?
parsim uses the settings in the model specified for logging. Unless LoggingToFile is enabled the logged data will be stored in t...
Does RAM memory afect the maximum number of simulation with parsim?
parsim uses the settings in the model specified for logging. Unless LoggingToFile is enabled the logged data will be stored in t...
6 years 前 | 0
已回答
Rapid Accelerator parsim Problem in 2018a
Hi Ryan, Sorry that you ran into this issue. This was a bug that has been fixed. The example should work fine in 18a Update or ...
Rapid Accelerator parsim Problem in 2018a
Hi Ryan, Sorry that you ran into this issue. This was a bug that has been fixed. The example should work fine in 18a Update or ...
6 years 前 | 0
| 已接受
已解决
Find the sum of all the numbers of the input vector
Find the sum of all the numbers of the input vector x. Examples: Input x = [1 2 3 5] Output y is 11 Input x ...
10 years 前
已解决
Make the vector [1 2 3 4 5 6 7 8 9 10]
In MATLAB, you create a vector by enclosing the elements in square brackets like so: x = [1 2 3 4] Commas are optional, s...
10 years 前
已解决
Times 2 - START HERE
Try out this test problem first. Given the variable x as your input, multiply it by two and put the result in y. Examples:...
10 years 前