How to export Data cursors info from simulink data inspector to workspace

조회 수: 2 (최근 30일)
eli gold
eli gold 2019년 10월 22일
답변: Anurag Ojha 2024년 8월 19일
Is there a way to export the points i selected with the data cursor in sdi to the base workspace?
thanks

답변 (1개)

Anurag Ojha
Anurag Ojha 2024년 8월 19일
Hi Eli
You can use 'Simulink.sdi.getCursorPositions' function to export data cursor from information from Simulink Data Inspector to base workspace. Once you have placed the cursor. You can execute the following command on command window.
t1 = Simulink.sdi.getCursorPositions
Adding the documentation link for better understanding:

카테고리

Help CenterFile Exchange에서 View and Analyze Simulation Results에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by