File Exchange Pick of the Week

October 12th, 2007

Using the clipboard from a GUI

Many of you have surely noticed that this blog took a sharp turn towards video content since I moved to the Advanced Support Group at the MathWorks in May. With all these videos, I have had to get organized. Most of that organization came by way of MATLAB scripts and GUIs.

One of the utilities I wrote is a database viewer. I wanted to be able to quickly copy a field to paste it into different forms. I decided to save myself a few seconds each time I did this by making a button that says “Copy” and this button will copy everything out of the edit box and put it in the clipboard.

Video Content

Find the files here.

Other videos have been gathered here:
http://blogs.mathworks.com/pick/category/video/

Practical example videos have been gathered here:
http://blogs.mathworks.com/pick/category/practical-example

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).


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

  • Ben: Doug, Thanks for the very helpful videos! Uitables seem like a convenient way to make a customized property...
  • oleg: Allstats has no checks, no comments and could also be improved (talking about prctile implementatio). Not to...
  • Todd: Additional information and a link to download free MATLAB and Simulink LEGO MINDSTORMS NXT code can be found at...
  • Doug: @Leo, Here is the “English version” of that code. “vec = []” makes an empty variable...
  • leo: Dear Doug I have a question in your code ‘October 9th, 2009 at 13:53′ vec = []; vec = [vec val]; I...
  • Shanker Keshavdas: You sir, are a gentleman and a scholar… No really, helped me out a lot. As to what is...
  • Quan Zheng: how can I get a copy of stepspecs.m?
  • Doug: @Lucy I think this is what you seek to move a line with the mouse in MATLAB. http://blogs.math...
  • Lucy: Dear Doug, I’m a Matlab newbie and I think your videos are fantastic – without them I would be lost! A...
  • Doug: @michael, Without your code, I can not debug this. Please post the shortest version of your code that shows the...

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