How do I update the model "ControlAn​dSimulateM​ultipleWar​ehouseRobo​tsExample.​mlx" to run on 2022a.

1 view (last 30 days)
How do I update the model "ControlAndSimulateMultipleWarehouseRobotsExample.mlx" to run on 2022a.
Previously the model ran on version 2019a. After updating to 2022a requires an additional block. How can I fix this?
Error evaluating 'InitFcn' callback of block_diagram 'multiRobotExampleModel'. Callback string is 'set_param('multiRobotExampleModel', 'ForceConsistencyChecking', 'off');'
Caused by: block_diagram does not have a parameter named 'ForceConsistencyChecking'

Accepted Answer

Cris LaPierre
Cris LaPierre on 28 Mar 2023
Edited: Cris LaPierre on 28 Mar 2023
I would just open the updated example in R2022a using the following command:
openExample('robotics/ControlAndSimulateMultipleWarehouseRobotsExample')
I found that in the R2022a documenation here (click 'Copy Command' in the top right corner):: https://www.mathworks.com/help/releases/R2022a/robotics/ug/control-and-simulate-multiple-warehouse-robots.html

More Answers (0)

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!