I need help with the input function
조회 수: 3 (최근 30일)
이전 댓글 표시
Hi, I want to do one function that calls another function that is already done. The problem is that the function I want to use has something that print on the comman line to ask to insert values and strings via keyboard.
Is something like this: function Import()
disp('*****************************************************************'); disp('string');
SatLong = input('insert latitude ');
File = input('Insert name ', 's');
BFile = input('Name of converted file (no ext): ', 's');
How can I insert this fields in my function???
댓글 수: 0
채택된 답변
Elad
2012년 6월 1일
you need that the other function will output those parameters ... [ File,BFile...]= otherfunction(....) and that the main function would also call them ... [ ....] = mainfunction(File,BFile... )
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Characters and Strings에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!