I'm writing a MATLAB program that reads in a title from the user to set on a graph...
t = input('Please enter a title for the graph: ', 's');
I then want to set the title of my plot to t
. I can't seem to get it to work...
title(t) %# returns ??? Index exceeds matrix dimensions.
Many thanks for the help!