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 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
0 comentarios
Respuestas (1)
Naman Kaushik
el 6 de Jul. de 2023
Editada: Naman Kaushik
el 6 de Jul. de 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 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!