File Exchange Pick of the Week

October 2nd, 2006

To the clipboard

As you might guess, I use MATLAB for a lot of things beyond technical computing. This weekend, I was doing quite a bit of cutting and pasting. I thought it would be better to have MATLAB do a lot of the work there. I used GUIDE to make a quick Graphical User Interface. At first, I thought I would just push the text out to the command line and then copy it from there. I figured there had to be a way to get a text block to the clipboard automatically. I went to Matlab Central and there it was: MAT2CLIP written by my colleague, Jiro, before he was a MathWorker.

Leave a Reply

Wrap code fragments inside <pre> tags, like this:

<pre class="code">
a = magic(3);
sum(a)
</pre>

If you have a "<" character in your code, either follow it with a space or replace it with "&lt;" (including the semicolon).


MathWorks

Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

These postings are the author's and don't necessarily represent the opinions of The MathWorks.