Find_Variable(var_t​o_search, value_to_find)

版本 1.0.0.0 (4.1 KB) 作者: Gordon
Looks through a structure or the base workspace to find variables equal to a value you specify
68.0 次下载
更新时间 2015/9/1

查看许可证

Looks through either a structure you pass to it, or the base workspace, to find all variables and fields matching a value you specify. The value can be a number, or a regular expression to match text. Will recursively loop through all structure fields. Useful for when you have a lot of variables in a structure or in your workspace and you want to find which ones are equal to a certain number, or have a certain text in a deeply buried field.

引用格式

Gordon (2024). Find_Variable(var_to_search, value_to_find) (https://www.mathworks.com/matlabcentral/fileexchange/52794-find_variable-var_to_search-value_to_find), MATLAB Central File Exchange. 检索时间: .

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

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0