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

조회 수: 1 (최근 30일)
PetronasAMG
PetronasAMG 2018년 2월 3일
답변: Walter Roberson 2018년 2월 3일
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.

채택된 답변

Walter Roberson
Walter Roberson 2018년 2월 3일
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'

추가 답변 (1개)

Image Analyst
Image Analyst 2018년 2월 3일
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.

카테고리

Help CenterFile Exchange에서 Data Import from MATLAB에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by