Accessing Cell Array form Original Script and calling it into another Function
이전 댓글 표시
Type=input('Enter the Equipment Design, (TGF), (DOL) or (LSP)?\n','s');
C={Type};
I have the above script as part of a file and I want to call the variable C into another function as a cell array, In the above case Type can equal TGF or DOL or LSP?
What is the syntax for the code within the function file, the original script file is OK?
Which is better to call C as a Cell, String or Character Array considering that the variable C will form the basis as the Table variable name for a numeric (double) vector in the function?
Cheers,
Frank
댓글 수: 1
madhan ravi
2020년 7월 11일
Illustration of an example with a desired result would help.
답변 (1개)
Image Analyst
2020년 7월 11일
0 개 추천
Use questdlg() and contains().
카테고리
도움말 센터 및 File Exchange에서 Numeric Types에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!