Development Environment | ![]() ![]() |
Using the Clipboard
You can cut and copy a selection from a desktop tool to the clipboard and then paste it from the clipboard into another desktop tool. Use the Edit menu, context menus, or standard keyboard shortcuts. For example, you can copy a selection of commands from the Command History window and paste them into the desktop.
The Paste Special item in the Edit menu opens the selection on the clipboard in the Import Wizard. You can use this to copy data from another application, such as Excel, into MATLAB. For details, see Chapter 6, Importing and Exporting Data.
To undo the most recent cut, copy, or paste command, select Undo from the Edit menu. Use Redo to reverse the Undo.
You can also copy by dragging a selection. For example, make a selection in the Command History window and drag it to the Command Window, which pastes it there. Edit the lines in the Command Window, if needed and then press the Enter key to run the lines from the Command Window.
![]() | Selecting Multiple Items | Accessing The MathWorks on the Web | ![]() |