How to programmatically get the Data cursor value in Simulink Data Inspector
이전 댓글 표시
Is there a way to programmatically get the Data cursor value of X axis in Simulink Data Inspector.
When we chose one Data cursor in the Simulink Data Inspector, moving the Data cursor shows the X axis value of simulation time.
Is there a way to get the current Data cursor positon using script ?
답변 (2개)
Manas Andhare
2020년 11월 5일
0 개 추천
It is my understanding that you are looking for the x-axis value of the enabled data-cursor on a Simulink Data Inspector subplot through a MATLAB API.
There is currently no API that can fetch the data-cursor value programmatically.
Please refer to Inspect and Analyze Simulation Results — Functions documentation for more information on the available Simulink APIs.
댓글 수: 1
Bharath Kumar
2020년 11월 5일
편집: Bharath Kumar
2020년 11월 5일
Arvind R.
2021년 4월 14일
0 개 추천
Hi,
The ability to programitically get cursor positions in Simulation Data Inspector is now available R2021a onwards.
Here is the link to the documentation -
Thanks,
Arvind
카테고리
도움말 센터 및 File Exchange에서 Prepare Model Inputs and Outputs에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!