Matlab live script codes are not allowed COPY and Paste

조회 수: 19 (최근 30일)
Feiteng Li
Feiteng Li 2018년 3월 11일
댓글: Roman Isaenkov 2021년 11월 21일
it's so weird that cannot copy code from livescript, do you have this question. My matlab release is 2017b.
  댓글 수: 1
Roman Isaenkov
Roman Isaenkov 2021년 11월 21일
The issue is still the case in 2021b. Even worse - copy/paste does not work in ordinary scripts. I've copied a piece and the only place I could paste it - Command Window. Any solutions?

댓글을 달려면 로그인하십시오.

답변 (1개)

Wentao Du
Wentao Du 2018년 3월 14일
The issue may be temporarily resolved by restarting MATLAB.
Additionally, we believe that a potential cause for this issue is related to the Windows SilentCleanup Task. This issue is explained in detail at the following Microsoft Support page:
You may try out the following steps to test a possible workaround for this issue:
1. Start a command prompt as an administrator.
2. Please disable the SilentCleanup by executing the following command in the command prompt window:
schtasks.exe /change /TN \Microsoft\Windows\DiskCleanup\SilentCleanup/Disable
3. You can always enable it again later with:
schtasks.exe /change /TN \Microsoft\Windows\DiskCleanup\SilentCleanup/Enable
The Windows Build 1709 introduced some new functionality, which removes all empty folders in the TEMP directory. This could be the cause of the copy and paste error.
The bug will be fixed in a future release of MATLAB.
  댓글 수: 1
Mehmet Emin Mumcuoglu
Mehmet Emin Mumcuoglu 2020년 12월 26일
I had the same issue with 2018a this solved my problem. Thank you.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 启动和关闭에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!