I created a scenario in driving scenario designer, How to get Simulink Model of senario that gives output as Yaw Angle, Reference Pose, Curvature, Direction?
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
0 Kommentare
Antworten (1)
Naman Kaushik
am 6 Jul. 2023
Bearbeitet: Naman Kaushik
am 6 Jul. 2023
Hi Raman!
I understand that you wish to read the output of the drivingScenario block in Simulink
The first step would be exactly what you have done, i.e. click on the 'Export' button on the top bar of the drivingScenarioDesigner applications and them "Export as Simulink model".
Now once your simulink file gets up and running you can now access the info required by attaching a "MATLAB System" block. You can connect the output arrow of the drivingScenario block to the input of this MATLAB system block.
Now double-clicking this would show you the class file for this block and you can then access the required information as the input variable to the "stepImpl" function.
To read more about the "MATLAB systems block":
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!