Why do I receive an error when using an apostrophe symbol in MATLAB Mobile on iOS 11?

조회 수: 3 (최근 30일)
Why do I receive an error when I use the apostrophe (e.g. ') symbol in MATLAB Mobile on iOS 11?
For example, using apostrophes to designate a string, such as in the line:
>> disp('Hello World')
will produce an error when executed.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2017년 10월 6일
iOS 11 includes a feature called "Smart Punctuation" which automatically substitutes some forms of punctuation with others. It will, for instance, automatically change ' (neutral quotation, Unicode U+0027)  to ’ (right single quotation mark, Unicode U+2019)  This will cause issues when writing MATLAB code.
You can disable Smart Punctuation by opening the Settings app in iOS 11, selecting *General > *Keyboard *and toggling off *Smart Punctuation.

추가 답변 (0개)

카테고리

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

제품

Community Treasure Hunt

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

Start Hunting!

Translated by