unheard of ptitle command.. what is this???

1 Ansicht (letzte 30 Tage)
PetronasAMG
PetronasAMG am 3 Feb. 2018
Beantwortet: Walter Roberson am 3 Feb. 2018
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.

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 3 Feb. 2018
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'

Weitere Antworten (1)

Image Analyst
Image Analyst am 3 Feb. 2018
It's probably a custom written m-file that you don't have. Try just replacing with title() and see if that works for you. Or else ask the people you got the Excel files from for the function.

Kategorien

Mehr zu Data Export to MATLAB finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by