To print Single quotation mark (')

use ''

 

ex. printf('This is ''test''.\n');

result: This is 'test'.

 

 

 

http://www.mathworks.com/help/matlab/ref/fprintf.html#btf98gd

 

文章標籤
全站熱搜
創作者介紹
創作者 bamil 的頭像
bamil

My Humble House

bamil 發表在 痞客邦 留言(0) 人氣(40)