How to write decison making logic for designscenarios?

1 Ansicht (letzte 30 Tage)
Amr Manne
Amr Manne am 7 Feb. 2022
Beantwortet: Srija Kethiri am 16 Jan. 2023
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.

Antworten (1)

Srija Kethiri
Srija Kethiri am 16 Jan. 2023
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:
  1. 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.
  2. 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
To know about the Automatic Scenario Generation example refer to this documentation:
Hope this helps!

Kategorien

Mehr zu Schedule Model Components finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by