Disable searching for usage of variable

조회 수: 5 (최근 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 CenterFile Exchange에서 Entering Commands에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by