Difference Between Copy and Copy Output

10 views (last 30 days)
If you right click an output in MATLAB Live script you will see "Copy" and "Copy Output" as two among other things you can select. What is the difference between these two commands?

Accepted Answer

Cris LaPierre
Cris LaPierre on 23 Jan 2022
Edited: Cris LaPierre on 23 Jan 2022
I see a slightly different set of options. I see 'Copy Output', meaning the output you have right clicked on (a single output) and 'Copy All Output', which will copy all of the outputs in the live script.
  3 Comments
Cris LaPierre
Cris LaPierre on 24 Jan 2022
Ah, you are getting different options because your output is a symbolic expression. You are getting the options for copying for a symbolic expression (Copy, Copy as LaTeX, Copy as MathML) and then the options for any live script output (Copy Ouput, Copy All Output).
In this context, Copy and Copy Output do the same thing.
Kareem Elgindy
Kareem Elgindy on 24 Jan 2022
Edited: Kareem Elgindy on 24 Jan 2022
Thanks Cris. It's clear now. I suggest that identical commands should be removed to avoid possible confusion.

Sign in to comment.

More Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!