HOW DO I CUT, COPY AND PASTE ???

I must be missing something
textfile ==> MATLAB
&
MATLAB ==> MATLAB
Greg

2 件のコメント

Walter Roberson
Walter Roberson 2018 年 12 月 25 日
Are you referring to the older MATLAB editor, or to LiveScript, or are you referring to the MATLAB Answers site which recently gained a new editor ?
Greg Heath
Greg Heath 2018 年 12 月 25 日
MATLAB ANSWERS
G

サインインしてコメントする。

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 12 月 25 日

0 投票

Text into MATLAB Answers:
If the text is text, then bring it up in some viewer (possibly MATLAB Editor), highlight appropriate portions of it, use your system text copy procedures (e.g., control-c for Windows, cmd-c for Mac). Then in MATLAB Answers editor, use your system text paste procedures (e.g., control-v for Windows, cmd-v for Mac).
If the text is code, then bring it up in some viewer (possibly MATLAB Editor), highlight appropriate portions of it, use your system text copy procedures (e.g., control-c for Windows, cmd-c for Mac). Then in MATLAB Answers editor, click the > icon (left-most in the 'CODE section of the toolbar) to start a code section, then use your system text paste procedures (e.g., control-v for Windows, cmd-v for Mac). If I recall correctly the key sequence for Windows that is equivalent to the > icon is control-r; on Mac it is alt-Enter .
MATLAB Answers into elsewhere such as MATLAB Editor:
If the material to be copied is text, then highlight it with your mouse, then use your system text copy procedures (e.g., control-c for Windows, cmd-c for Mac). Then in the destination, use your system text paste procedures (e.g., control-v for Windows, cmd-v for Mac).
If the material to be copied is code, then you can use the same as for text, but there is also a shortcut. The upper right corner of code blocks has the word Copy . If you click on that then the entire code block will be placed in your buffer, ready to copy into the destination.

3 件のコメント

Image Analyst
Image Analyst 2018 年 12 月 26 日
And please don't forget to properly indent your code in MATLAB before you copy it here in Answers by typing control-a (to select all text) and then control-i (to fix indenting).
Many/most people forget this tremendously useful step.
Rafael Espericueta
Rafael Espericueta 2021 年 4 月 30 日
On Ubuntu, this doesn't seem to work.
Patrick von Platen
Patrick von Platen 2022 年 3 月 20 日
Matlab is horribly suited for Ubuntu

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeEnvironment and Settings についてさらに検索

質問済み:

2018 年 12 月 25 日

コメント済み:

2022 年 3 月 20 日

Community Treasure Hunt

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

Start Hunting!

Translated by