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

 

創作者介紹
創作者 My Humble House 的頭像
bamil

My Humble House

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