How I'm able to search for a variable in different functions and scripts?

조회 수: 14 (최근 30일)
Reinhard Palaver
Reinhard Palaver 2016년 8월 31일
편집: Stephen23 2016년 9월 1일
I'm looking for a function or tool which help me to find the usage of a variable in different scripts or functions with just one click.
  댓글 수: 4
Guillaume
Guillaume 2016년 8월 31일
Well, all these tools will certainly find a string in several files. However, it is a far cry from finding "the usage of a variable in different scripts or functions". This would require some semantic analysis. Even then, I'm not sure that such a tool could be made for matlab (unlike other languages such as C), particularly for scripts since there isn't an absolute way to connect them.

댓글을 달려면 로그인하십시오.

답변 (1개)

Stephen23
Stephen23 2016년 8월 31일
편집: Stephen23 2016년 8월 31일
MATLAB finds any string in any text files (not quite one button click):
  • Ribbon: "Home" tab -> "Find Files".
Have you tried using that ?
  댓글 수: 3
Stephen23
Stephen23 2016년 9월 1일
편집: Stephen23 2016년 9월 1일
@Reinhard Palaver: I am glad that it helped! If my answer helped you, please consider accepting it by clicking the accept button. That is an easy way for you to say "thank you" to us volunteers.
Reinhard Palaver
Reinhard Palaver 2016년 9월 1일
편집: Reinhard Palaver 2016년 9월 1일
Thanks a lot!!! Mille Grazie!!! Gracias!!! Merci!!!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Search Path에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by