% Example file that displays how use commands in Script M-Files

echo on
a=5;
b=2;
c=a+b
% The file will seem to stop its execution.
% To continue to execute this file please hit any key.
pause
d=c-2
% The file will stop execution and you will see a K>> (K prompt).
% In order to continue to execute this file please type return
keyboard
% By using the input function, we can obtain input from users.
% The input function is at work below.
e=input('Please enter a numerical value for this variable:')
f=e-a
% Once we hit the break function the execution of this file is terminated.
break
g=b+c;
echo off
