MATLAB: Output

Example: Simple Output in MATLAB without a variable


	disp('Hello World.')
	

Output:

  Hello World.


Example: Simple Output in MATLAB using a Variable


	h = 'Hello World.';
	disp(h)
	

Output:

  Hello World.