How to copy and paste in Matlab Online?

202 views (last 30 days)
Dear Matlab Users
I'm currently using Firefox on mac for Matlab Online editor.
I can't copy and paste, variables in my script. Command+c and command+v is not working.
Is this browser related problem?
  7 Comments
miguel ramirez martin
miguel ramirez martin on 7 May 2020
Me too , the context menu on the right button is not offering options for copy or paste
EROL BICER
EROL BICER on 5 Nov 2020
Ahmet,
I just had the same problem and looked it up.
Here is a way to get around it:
After you run your code, you can type in the command window clipboard('copy',data) here "data" is your variable. Once you run the command then a pop-up window will give you the variable in a vector form (in a square bracket). You can then CTRL+C that and paste to wherever you want.
TIP1: Don't hit the backspace on your keyboard. It will exit from the Matlab Online
TIP2: Paste it to Excel where you can also use the Text to Columns function. (CTRL+arrow) would take you to the last data and then (CTRL+SHIFT+arrow) should highlight the dataset.
Good luck,
EB

Sign in to comment.

Accepted Answer

Cris LaPierre
Cris LaPierre on 7 May 2020
Edited: Cris LaPierre on 7 May 2020
Copy/paste does not appear in the rt click context menu. You should be able to use the appropriate keyboard shortcuts for your system. For windows:
  • ctrl + C to copy
  • ctrl + X to cut
  • ctrl + V to paste
  7 Comments
Cris LaPierre
Cris LaPierre on 21 Jan 2023
It does. Perhaps you could explain what you are trying to copy that is not working?

Sign in to comment.

More Answers (0)

Communities

More Answers in the  Distance Learning Community

Categories

Find more on Platform and License 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!