フィルターのクリア

I need help with the input function

1 回表示 (過去 30 日間)
Hugo
Hugo 2012 年 6 月 1 日
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???

採用された回答

Elad
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... )
  1 件のコメント
Hugo
Hugo 2012 年 6 月 5 日
Are you calling "mainfunction" to this one I pasted here that have the strings asking for the values???

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Type Conversion についてさらに検索

タグ

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by