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

 

arrow
arrow
    全站熱搜

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