Azzera filtri
Azzera filtri

Disable searching for usage of variable

2 visualizzazioni (ultimi 30 giorni)
JSL
JSL il 30 Mag 2013
Risposto: Siavash il 16 Ago 2020
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 Commenti
Louis
Louis il 27 Giu 2013
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 il 6 Mag 2020
I'm having the same issue. After 2000 instances I must wait a long period to Matlab find all usages.

Accedi per commentare.

Risposte (1)

Siavash
Siavash il 16 Ago 2020
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.

Categorie

Scopri di più su Shifting and Sorting Matrices in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by