when i execute ,error??? Error: File: ant.m Line: 2 Column: 6 The input character is not valid in MATLAB statements or expressions.

Answers (1)

Check your unicode settings and keyboard. The quote in your is something different.
Reference: uint16('’')%this is your quote
yields ans =
8217
whereas, the normal quote (of ASCII/Unicode set) yields this,
uint16('''') %Normal Quote, uint8 would suffice as it is ANSI/Unicode
ans =
39

This question is closed.

Asked:

on 23 Aug 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!