- Open the example Automatic Scenario Generation by using the command openExample('driving/AutomatedScenarioGenerationExample'). Copy the 'CollisionFreeSpeedManipulator.slx' model from the ‘AutomatedScenarioGenerationExample' folder and paste it into the current MATLAB Path.
- Open the example Automatic Scenario Generation. Add the ‘AutomatedScenarioGenerationExample’ folder and subfolders to the MATLAB path. To add the folder and subfolders in the MATLAB path: Right click on the folder --> Add to Path --> Folder and Subfolders
How to write decison making logic for designscenarios?
3 次查看(过去 30 天)
显示 更早的评论
I have dificulties writing code for adding collisionfree speed manipulator in matlab.It throws errors like not enough arguments placed.
error:No system or file called 'CollisionFreeSpeedManipulator' found. 'CollisionFreeSpeedManipulator' is
used in
Automatic Scenario Generation.
0 个评论
回答(1 个)
Srija Kethiri
2023-1-16
Hi Amr,
From my understanding, you are trying to open the system ‘CollisionFreeSpeedManipulator’ but it is throwing an error as: No system or file called 'CollisionFreeSpeedManipulator' found. 'CollisionFreeSpeedManipulator' is used in Automatic Scenario Generation.
The error is because the model you are trying to open is not in the current MATLAB path. To resolve the error, you can use one of the following methods:
To know about the Automatic Scenario Generation example refer to this documentation:
Hope this helps!
0 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!