title: How to add \ before all special characters in MATLAB?
body: <p>I am trying to add '\' before all special characters in a string in MATLAB, could anyone please help me out. Here is the example: </p>
  
  <pre><code>tStr = 'Hi, I'm a Big (Not So Big) MATLAB addict; Since my school days!';
  </code></pre>
  
  <p>I want this string to be changed to:</p>
  
  <pre><code>'Hi\, I\'m a Big \(Not so Big \) MATLAB addict\; Since my school days\!'
  </code></pre>