Automatically Entering Inputs into MATLAB Function

2 ビュー (過去 30 日間)
Emily
Emily 2022 年 4 月 26 日
コメント済み: Geoff Hayes 2022 年 4 月 27 日
I have a function where I want to automatically add the input prompts since I already know the inputs needed.
EX: 12 for first line, 34 for 2nd line, 'abc' for 3rd line etc
I tried this solution out but it didn't work for me
  1 件のコメント
Geoff Hayes
Geoff Hayes 2022 年 4 月 27 日
@Emily - what is the signature for your function? Does it allow for input parameters or does the code have three lines that prompt the user to enter some data? You may want to post some of your code so that we can get an idea of what it looks like and so can recommend how to accomplish what you want.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by