title: How do you use the LaTeX blackboard font in MATLAB?
body: <p>So, based on my question and solutions <a href="https://stackoverflow.com/questions/12249639/matlab-and-math-equations-via-latex-in-command-window-or-stand-alone-plots/12250202#comment16422138_12250202">here</a>, I would like to actually start using LaTeX, in figures as seen. However, one problem I am running into, is that I cannot seem to display the Expectation operator. </p>
  
  <p>From my <a href="http://www.latex-community.org/forum/viewtopic.php?f=46&amp;t=3830" rel="nofollow noreferrer">research</a>, I know that the expectation operator can be displayed as such normally as such:</p>
  
  <pre><code>/mathbb{E} 
  </code></pre>
  
  <p>However, when I try to use it in MATLAB, nothing prints out.</p>
  
  <pre><code>clear all
  figure(1); clf(1);
  set(gcf, 'color', 'white'), axis off     %# Remove axes and set white background
  my_text = '$$ \mathbb{E} $$';
  text('units', 'inch', 'position', [-0.5 3.5], 'fontsize', 14, 'color', 'k', ...
      'interpreter', 'latex', 'string', my_text);
  </code></pre>
  
  <p>Now, I know that the \mathbb is some sort of different 'library', but frankly it is quite useful for mathematical formulations. How do I 'include' it in MATLAB? I am lost on this.  </p>