Development Environment    

Copying Functions from the Command History Window

Select a function, or Shift-click or Ctrl-click to select multiple functions. Then you can do any of the following.

Action
How to Perform the Action
Run the functions in the command window
Copy the selection to the clipboard by right-clicking and selecting Copy from the context menu. Paste the selection into the Command Window. (Alternatively, drag the selection to the Command Window.) In the Command Window, edit the functions if desired, and press Enter or Return to execute the functions.
Copy the functions to another window
Copy the selection to the clipboard by right-clicking and selecting Copy from the context menu. Paste the selection into an open M-file in the Editor or any application.
Create an M-file from the functions
Right-click the selection and select Create M-File from the context menu. The Editor opens a new M-file that contains the functions you selected from the Command History window.


 Running Functions from the Command History Window Getting Help