Why am I unable to use Copy (Ctrl+C) and Paste (Ctrl+V) keyboard short-cuts in the text editing mode in MATLAB 7.8 (R2009a) with Windows XP?
524 views (last 30 days)
Show older comments
MathWorks Support Team on 15 Mar 2012
Commented: Image Analyst on 20 Mar 2023
I am using MATLAB 7.8 (R2009a) on Windows XP to write my code. However, I am not able to use Ctrl+C, Ctrl+V keyboard short-cuts in the MATLAB editor.
MathWorks Support Team on 20 Mar 2023
Edited: MathWorks Support Team on 20 Mar 2023
The keyboard short-cuts for Copy (Ctrl+C) and Paste (Ctrl+V) may not work if the "Editor/debugger key bindings" preference is set to "Emacs" instead of "Windows".
In order to check the MATLAB Keyboard preferences n MATLAB 7.8 (R2009a) go to File -- > Preferences --> Keyboard and look for the "Editor/debugger key bindings" options on the "Keyboard Preferences" pane. If the "Editor/debugger key bindings" option is set to "Emacs", the Copy (Ctrl+C) and Paste (Ctrl+V) features will be disabled. To enable these features, change the "Editor/debugger key bindings" option to "Windows" and click on the "Apply" button in the right bottom corner of the "Preferences" window.
If you are using MATLAB 7.9 (R2009b) - MATLAB 7.14 (R2012a) go to File -> Preferences -> Keyboard -> Shortcuts, or for MATLAB 8.0 (R2012b) - MATLAB 8.2 (R2013b) click the Preferences button in the Environment section of the Home tab and navigate to Keyboard -> Shortcuts. Make sure that under Active Settings, "Windows Default Set" is selected. This will ensure that the Keyboard Shortcuts Preferences are mapped to the default Windows settings i.e. Copy (Ctrl+C) and Paste (Ctrl+V).
Note: Make sure that there are no conflicts listed under the 'All Possible Conflicts' section if you included other customization.
Image Analyst on 20 Mar 2023
It's a known, intermittent bug they're trying to fix. See other thread: https://www.mathworks.com/matlabcentral/answers/321284-copy-and-paste-not-working-in-the-matlab-editor?s_tid=srchtitle
More Answers (0)
Find more on Desktop in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!