How to write decison making logic for designscenarios?

조회 수: 1 (최근 30일)
Amr Manne
Amr Manne 2022년 2월 7일
답변: Srija Kethiri 2023년 1월 16일
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.

답변 (1개)

Srija Kethiri
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:
  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!

카테고리

Help CenterFile Exchange에서 Schedule Model Components에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by