Bikesim parallel simulation issue of input output ports update

1 view (last 30 days)
I am having trouble running the following model, It is provided by Bikesim (here) and (here)
It works fine when I use sim command, but there is error when I use the parsim command.
Compilation of model 'test3' failed while trying to resolve underspecified signal dimensions.
Suggested Actions:
Enable 'warning' or 'error' diagnostics for the list of underspecified signal dimensions. - Open
Caused by:
Invalid setting for input port dimensions of 'test3/Demux'. The dimensions are being set to 2. This is not valid because the total number of input and output elements are not the same
Error in port widths or dimensions. Output port 1 of 'test3/BikeSim S-Function' is a one dimensional vector with 2 elements.
This error seems to be existing because the input output ports(of the vehicle block which is an S function block) is not being updated to the parallel workers when I use parsim, how would I be able to fix so that the parallel workers understand it?

Answers (0)

Categories

Find more on Run Multiple Simulations in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!