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

Is there a way to export the points i selected with the data cursor in sdi to the base workspace?
thanks

Answers (1)

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:

Categories

Find more on Simulink in Help Center and File Exchange

Products

Release

R2018b

Asked:

on 22 Oct 2019

Answered:

on 19 Aug 2024

Community Treasure Hunt

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

Start Hunting!