I can't paste a command in Matlab 2024a

Hello, I am unable to paste a command in the command window on Matlab 2024a (academic use). Can someone help me please?

4 Comments

Hey
Can you explain a bit more about the issue you are encountering. As I am able to paste in the command window by simply using 'CTRL + V'.
What happens when you try to paste the command into the Command Window?
  • Do you receive warning and/or error messages? If so the full and exact text of those messages (all the text displayed in orange and/or red in the Command Window) may be useful in determining what's going on and how to avoid the warning and/or error.
  • Does it do something different than what you expected? If so, what did it do and what did you expect it to do?
  • Did MATLAB crash? If so please send the crash log file (with a description of what you were running or doing in MATLAB when the crash occured) to Technical Support so we can investigate.
How are you trying to paste into the Command Window? Are you using the correct keyboard shortcuts? The Windows Default Set, Emacs Default Set, and Macintosh Default Set are slightly different. That documentation page to which I linked shows how to check which set of keyboard shortcuts you're using and what the Paste command is in that set (for Windows, either Ctrl-V or Shift-Insert work except in Workspace Browser where those are Paste to Workspace...)
Or are you using the clipboard function? [That's probably pretty unlikely, as I don't think many people know that function exists.]
Thank you Anurag and Steven for your answers. I used CRTL+V, and nothing happened, then I right clicked and the paste option was not available (it was there but I couldn't click on it). I tried to paste the same command I copied on R2023b (I only have those two versions) and I could paste it without any problem, but on R2024a nothing happened. No error messages, nothing.
It works now. Maybe it was a bug or maybe Matlab crashed. Thank you very much

Sign in to comment.

 Accepted Answer

I have installed MATLAB on Debian Linux. "Ctrl + C" and "Ctrl + V" was not working for me few days back.
Following solution worked for me -
  • HOME -- > Preferences --> MATLAB --> Keyboard --> Shortcuts
  • Change "Active Settings" to "Windows Default Set"
I found this solution on this question.

2 Comments

Thank you very much, I am using Windows but I will try that and see if it works.
It was already set to Windows Default Set, but it works now. Maybe it was a bug or maybe Matlab crashed. Thank you very much

Sign in to comment.

More Answers (0)

Categories

Products

Release

R2024a

Asked:

on 19 Jun 2024

Commented:

on 19 Jun 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!