save the results of who function
조회 수: 5 (최근 30일)
이전 댓글 표시
Hi,
I want to store the results of variables that start with B in a cell array where each row display the name of one variable. I tried who B* and I saw the results displayed. I tried List=who(B*); but I am receiving an error and I couldn't figure out after reading the documenttion how to store them.Any help is appreciated.
댓글 수: 0
채택된 답변
Grzegorz Knor
2013년 8월 26일
You have to use quotation marks, because an argument of who should be string:
List = who('B*')
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Whos에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!