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?
1 次查看(过去 30 天)
显示 更早的评论
回答(1 个)
Naman Kaushik
2023-7-6
编辑:Naman Kaushik
2023-7-6
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 个评论
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!