Project 2-Highway Assistant-Lane Changing Assistant
Highway Assistant – Lane Changing Assistant:
The Simulink model,SLDD and model Advisor Report are Attached below.
Steps to create model is given below with screenshot.
Sldd File created using given information as shown below.

Requirement No 1 [Highway_DisplayUnit]:

Stateflow:

Requirement No 2 [Lane_DisplayUnit]:

Stateflow:

Requirement No 3:

Code generation selected as Autosar.tlc

Model Advisor report is generated and file is attached below:

For Autosar mapping we have select the Autosar component from apps and then select Autosar Dictionary as shown below

XML option is created

Then S-R interfaces are added

Receiver and sender ports also added as shown below


then save the model and inports and outports are shown below.
Inports

Outports

Then code generation is done :







