Project 1 (Mini Project on Vehicle Direction Detection
Your Answers-
Objective of Project:
- Development of MATLAB Simulink model as per requirement.
- Tag the requirements to the simulink model; tagging requirement 1 & requirement 2 to their corresponding subsystems is fine.
- MBD compliant changes, Data Dictionary creation & code generation is added advantage, and that is not scope of this project.
- If choosing code generation, Storage class for Input signals: ImportedExtern; Storage class for Output signal: Export to File; Storage class for local signals: localizable; Storage class for calibration signals: Const.
- Choose sample time for all signals as 0.01s.
Answer:-
- Step1:-Create a model as per given reqirenment-1.
- Step 2:- Create a another model as per reqirement-2.
- after that convert both the model into seperate sub-system and join to each other.
- Now create a word file of requirement 1 & 2 and do a tagging of both requirement.
- Now create a Sldd file for signal.
- Now link the Sldd file to model and run, Now model will look like this as below.
- Now use the Model advisor and check the errors and warnings and try to reduce the warnings.
- After that generate a C-code for this model.