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 Center および File ExchangeView 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