Function Input in command window

조회 수: 3 (최근 30일)
Jack McNulty
Jack McNulty 2022년 5월 29일
댓글: Jack McNulty 2022년 5월 30일
I am currently attempting to write a function that loops an input of another function. The main function is not mine, and is very long and complicated so I am trying to write a function to open this function and enter the inputs everytime with one input changed. The problem is that the function inputs are inputed in order in the command window so I can open the function in a script but I do not know how to enter the inputs. The function name is Tornado so I can write that in a script to open in.
Here is the code printed to the command window when that script is run:
Input operations.
[1]. Aircraft geometry setup
[2]. Flight condition setup
[3]. Change rudder setting
[4]. Move reference point
Lattice operations.
[5]. Generate lattice.
Computation operations.
[6]. Processor access
Post processing and interactive operations.
[7]. Post processing, Result/Plot functions
[8]. Keyboard access
Auxiliary operations.
[10]. About / Release Info
[100]. Help files
[0]. Exit Tornado
Please enter choice from above:
I attempted to just write in the new script:
Tornado
1
to try and enter the 1st option in the function. I then want to continue to enter inputs in this way. Any help would be appriciated, thank you.
  댓글 수: 11
dpb
dpb 2022년 5월 30일
편집: dpb 2022년 5월 30일
I've not looked at the code at all; I'd suggest given the above about batch mode you delve into the product to find out just what that implies/allows.
Surely there's a user community -- the author seems to still be actively supporting the product either as a side hustle or as his main occupation; there's the place to go for the real skinny.
Here, unless someone who is also a user just happens to see your Q?, there's nobody routinely here that has any experience with the product and it is a forum specifically on how to use MATLAB, not another application that happens to have been built using MATLAB. Also remember this is an all-volunteer forum.
Jack McNulty
Jack McNulty 2022년 5월 30일
I have emailed the info team of the sight, I will wait for them to get back to me. Appricieate it.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by