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

7 views (last 30 days)
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?

Answers (1)

Sean de Wolski
Sean de Wolski on 4 Feb 2014
Use the input function or an inputdlg
doc input
doc inputdlg

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!