Disable searching for usage of variable

1 回表示 (過去 30 日間)
JSL
JSL 2013 年 5 月 30 日
回答済み: Siavash 2020 年 8 月 16 日
Due to some large equations I have, my system lags while Matlab searches for usages of the variable I click on. I have disabled the automatic highlighting of all the instances, but this doesn't stop Matlab from still searching for each instant.
This is killing my productivity as I have to wait after every click for Matlab to think. Is there anyway to disable the searching completely?
I guess I could open up my script in notepad...
  2 件のコメント
Louis
Louis 2013 年 6 月 27 日
I am having the same exact issue! I have to wait a FULL MINUTE before my entire MATLAB environment unfreezes after clicking on or moving my cursor to a new variable.
It is essentially impossible for me to debug functions with many usages of certain variables (e.g., ~1000 instances, takes forever to "find" them all).
Vinícius Freitas
Vinícius Freitas 2020 年 5 月 6 日
I'm having the same issue. After 2000 instances I must wait a long period to Matlab find all usages.

サインインしてコメントする。

回答 (1 件)

Siavash
Siavash 2020 年 8 月 16 日
Home -> Preferences -> Colors -> Programming Tools -> variable and function colors : uncheck Automatically highlights.
The beauty of Matlab (in my opinion) is that you can still use this feature by Ctrl + Shift + H occassionally whenever you need it.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by