MATLAB Answers

Ryan
0

Rapid Accelerator parsim Problem in 2018a

Asked by Ryan
on 28 Aug 2018
Latest activity Edited by Rahul Kumar on 29 Aug 2018
I believe there is a problem with modifying tunable parameters when using parsim in 2018a. I have been having difficulty getting rapid accelerator parameters to update from one simulation to the next. After struggling I decided to work through an example in detail. When following the example "Rapid Accelerator Simulations Using Parsim" (found in the help) in 2018a I noticed that were was no variation in the results even for the example. The first image below is from the help of 2018a. I then tried the same example on 2017b and got the results I was looking for. The second image is from the help of 2017b. Notice the variation in this example. Again, these are the result plots published in the matlab help and I have verified that I get the same results when running on 2018a and 2017b. There appears to be something wrong with 2018a that is not allowing the tunable parameters to be updated.
There is another example that behaves the same way, "Parallel Simulations Using Parsim: Parameter Sweep in Rapid Accelerator Mode" available in the 2017b and 2018a help.
Not sure if this is related but I notice that "SimulinkGlobal (Auto)" is not an available option in the Storage class drop down in the Simulink model's "Model Parameter Configuration" dialog.
Thanks,
Ryan

  0 Comments

Sign in to comment.

1 Answer

Answer by Rahul Kumar on 29 Aug 2018
Edited by Rahul Kumar on 29 Aug 2018
 Accepted Answer

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 later. Here is the link to the bug report
If you are not able to download the 18a Update for some reason, please use the workaround provided in the bug report.
Please let me know if you have any questions.
Thanks, Rahul

  0 Comments

Sign in to comment.