Using listdlg and sprintf to create a GUI
조회 수: 1 (최근 30일)
이전 댓글 표시
How do I use the sprintf option for listdlg in matlab? Do I need to create a variable beforehand using sprintf or do I need to use sprintf within the brackets of listdlg?
댓글 수: 0
답변 (1개)
Arun Mathamkode
2017년 10월 19일
The input argument must be a cell array of strings. Each element of the string cell array corresponds to a row in the list menu. The function "sprintf" is one way of creating a string. It doesn't matter if this string is created beforehand or inside the "listdlg" input argument as long as it is part of a cell array.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!