Programmatically scroll Variables Editor

版本 1.6.0.0 (470.3 KB) 作者: Oleg Komarov
Opens a variable in the Variables Editor (grabs focus if open) and scrolls to position.
573.0 次下载
更新时间 2016/10/30

----------------------------------------
EXISTING/NEW ISSUES (or enhancement requests):
- Please, check and report new issues to https://github.com/okomarov/scrollto/issues
- If a new issues occurs, provide all steps to reproduce it, even if it means including a "restart the pc" step.
----------------------------------------
Opens a variable in the Variables Editor (grabs focus if already open) and scrolls to given position/subs.
Supported scrollable classes (matrices):
* numeric
* logical
* cell
* timeseries
* table (from R2013b - v2.1)
* categorical (from 2013b - v2.1)
* dataset (Statistics Toolbox)

Examples:

% Scroll a simple logical variable
a = false(1e6,100);
pos = randi(1e8,1);
scrollto('a',pos)

% Scroll somewhere else
scrollto('a',[1e5, 28])

% Wrap into a structure and scroll the indexed variable
s.foo = a;
scrollto('s.foo',pos)

% Wrap into cell and scroll with several levels of nesting
c = {s};
scrollto('c{1}.foo', pos)

% Scroll 3D array
a = rand(10,10,10);
scrollto('a(:,:,2)',[5,2])

WARNING: this code heavily relies on undocumented and unsupported Matlab functionality.

p14v2.10

引用格式

Oleg Komarov (2024). Programmatically scroll Variables Editor (https://github.com/okomarov/scrollto), GitHub. 检索来源 .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Environment and Settings 的更多信息

Community Treasure Hunt

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

Start Hunting!

无法下载基于 GitHub 默认分支的版本

版本 已发布 发行说明
1.6.0.0

Edited description

1.5.0.0

Linked to github

1.4.0.0

Added support for table and categorical arrays (classes introduced with R2013b)

1.3.0.0

Edited description.

1.2.0.0

Additional feature:
- scrolls from 'caller' ws, e.g. scroll in debug mode;

Fixed bugs:
- now handles corner case within size-bounds scrolling;
- corrected the scrolling type of ts to dataset (was swapped before).

1.0.0.0

要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库
要查看或报告此来自 GitHub 的附加功能中的问题,请访问其 GitHub 仓库