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!