필터 지우기
필터 지우기

What are the commands for a function that allows the user to input arguments and store them in the variables x and y?

조회 수: 1 (최근 30일)
What are the commands for a function that allows the user to input arguments and store them in the variables x and y?

답변 (2개)

Iain
Iain 2014년 2월 19일
Can you be more specific?
How do you want the user to input arguments?
The functions, "input", "inputdlg", "uigetfile", all come to mind as being functions that could do the job, depending on what the job is. Look at the help for them and you should find what you need.

Tucker Russ
Tucker Russ 2014년 2월 19일
Honestly, I am just looking for basic general examples the more the better.
  댓글 수: 1
Star Strider
Star Strider 2014년 2월 19일
Search on the terms Iain suggested. The documentation has examples and links to related functions at the end of each page.
To open the documentation, click on the ‘ ? ’ in ‘RESOURCES’ just above the main command window, or type one of the terms in the Editor and right-click on it, then click on ‘Help on selection’ in the dropdown menu that appears.

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

카테고리

Help CenterFile Exchange에서 Workspace Variables and MAT-Files에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by