MATLAB: How to use special character ‘ in a string

matlab variablesspecial characterstrings

Hi,
I want to use the special character '. I want that if an input is equal to character ', then a bit stream gets transmitted.
case(''')
temp_sec_info='00101';
Now, you can't use three times '''. There must be a special operator to use the character ' in a string. How would it be possible?
Thank you.

Best Answer

case ''''
or
case char(39)