Project 1 (Mini Project on Vehicle Direction Detection
Aim of Challenge:-
- Identifying the Direction the Vehicle is taking based on the camera Input.
Procedure:-
Step 1:- Requirement Analysis by following the objective of the project.
Step 2:- Open a new tab on Simulink and start the modeling with requirement 1 and requirement 2.



Step 3:- Start the SLDD creation by going to the Modeling -> model explorer -> File -> New -> Data Dictionary
Add the Inport, Outport, and calibration Signal and update it with the given Data.

Step 4:-Do the Signal Resolving for Inputs and Outputs by right-clicking on the signal label and clicking on resolve signals.

Step 5 :- Do the Requirement Tagging and Tracebility.
Open the word folder with the Requirements, Select the required reqirements to be tagged, Now Right click on the Subsystems Go to the Requirements Section, Select Link to Selection in word.
Your Requirement will be tagged.


Step 6:- Update the Configuration Parameter, Set the Sample Time = 0.01s and other parameters.

Step 7:- Do the Code Generation.
Right click on the subsystem and click on C/C++ code option and click S-function generation block.
Now the S-function block will be created and will appear on a new Simulink model.
Code will be genrated in terms of .c and .h files.



Step 8:- Now Open the Model Advisor.
Modeling -> Model Advisor -> Select Checks to be performed -> Run Model Advisor Checks.
In this project I have selected Maab Guidelines in checks.
Resolve If any warnings or Incomplete Tests Detected.
A model Advisor Report will be generated.

Step 9:- The Vehicle_Direction_Detection Project has been completed.
