is it possible to enter variable values while execution or run time?

i would like to create a variable.i will define the variable in matlab code but i want assign values at run time is it possible? like we use in c scanf function?

回答 (1 件)

Sean de Wolski
Sean de Wolski 2014 年 2 月 4 日

0 投票

Use the input function or an inputdlg
doc input
doc inputdlg

2 件のコメント

gavr
gavr 2014 年 2 月 6 日
thank you i will practice it
Walter Roberson
Walter Roberson 2014 年 2 月 6 日
See also fscanf()

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

カテゴリ

ヘルプ センター および File ExchangeInstrument Control Toolbox についてさらに検索

タグ

質問済み:

2014 年 2 月 4 日

コメント済み:

2014 年 2 月 6 日

Community Treasure Hunt

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

Start Hunting!

Translated by