getting input

My script performs a calculation say squaring a number.While I run the script ,it should get input from the user (which is the number that needs to be squared) and then display the result.How to get input from the user in run time?Thanks in advance for your help

Categories

Find more on Simulink in Help Center and File Exchange

Asked:

on 5 Jun 2011

Community Treasure Hunt

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

Start Hunting!