MATLAB: Unheard of ptitle command.. what is this??

MATLAB

so i am pulling out data from excel files as my input and export all my calculated data from matlab to excel output. So far everything has been great. But i ran into a trouble when i was titling my graph and had an error that matlab is unable to title my graph. After doing some googling, people were using command ptitle. Can you please explain what ptitle is?? this is really really confusing.

Best Answer

I do not seem to find anyone using a ptitle() command. I find some people using a variable named ptitle or pTitle.
I speculate that you are getting a message similar to "String scalar or character vector must have valid interpreter syntax", which can happen if the string you are trying to use has '\' characters or '{' characters. If that is happening to you, then when you call title() add the parameter/value pair 'interpreter', 'none'