Escape sequence to display apostrophe in MATLAB

2020-08-18 05:33发布

问题:

I want to output apostrophe (') in matlab. Some thing like:

SendOrder('side, symbol, price', 'b, msft, 10', 'b, ibm, 200')

I am not able to do it with the help of disp(). What are escape sequences in matlab?

回答1:

try the double apostrophe :

''


标签: matlab