I need help with the input function
2 次查看(过去 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 中查找有关 Data Type Conversion 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!