Project 1 (Mini Project on Vehicle Direction Detection
Hi,
I have attached the answers.
Thank you,
Steps to do:
step 1: Open the matlab simulink model. Create the model corresponding to the requirements.
step 2: If you want to create data dictionary, go to the modelling option, select the data dictionary option which is
presented under the design option.
step 3: Select new and create the data dictionary (.sldd) file. If the data dictionary was created, the data dictionary linking
icon will be appeared in left bottom of the screen where model was created. Then go to the data dictionary and add the
singal and calibration values(parameters). And save it.
step 4: Now run the model and correct the error if was came.
step 5: Ater that create a model requirement document from the requirement document which is given in the question.
step 6: Requirement document should be in the form of excel sheet is better.
step 7: Now, go to the APPS and select Requirement manager --> Requirement Editor --> New Requirement set -->
Create a requirement document (.slreqx). Once it has been created, It would be presented there.
step 8: Click the Add requirement to add the requirements.
step 9: Once it is completed, link the requirement to the corresponding model. If requiements were successfully attached
to the model, the small icon will be appeared at the top right corner of the subsystem.
step 10: Run the system again. Go to the model advisor, and run it. Take the model advisor report.
step 11: If you want to do code generation, go to the model setting --> solver --> embedded coder.
step 12: Go the the APPS --> Embedded Coder --> Build --> Generate code. Code will be created.