copy from UITABLE to clipboard not working

조회 수: 14 (최근 30일)
Gregory McFadden
Gregory McFadden 2017년 4월 24일
댓글: Nachiketa Chauhan 2021년 9월 10일
I have a UI table, I used to be able to copy from it to the windows clipboard, but now it no longer copies. I have absolutely no idea what has changed nor where to look for the problem. Any thoughts on where the problem might be?
thanks Greg

채택된 답변

Gregory McFadden
Gregory McFadden 2017년 4월 25일
it actually was some kind of "as currently running" issue. Restarting matlab fixed the issue.

추가 답변 (3개)

xi
xi 2017년 4월 25일
You may want to change the uitable property of 'ColumnEditable' from true to false. When it is true, you can edit, but can't copy the whole table to clipboard (can only copy one cell at a time). When it is false, you can't edit, but can copy the talbe. I usually add a toggle button beside the uitable, so that users can switch between copy mode and edit mode. I'm not sure if this is the problem you encountered.
  댓글 수: 3
Bruno Luong
Bruno Luong 2020년 9월 30일
All my ColumnEditable is set to FALSE and I can't copy on clipboard, and this is on R2020b. So nothing is improved since 3 years and half.
Generally sometime my App just hangs. Frustrating. All the App business is still far from being mature for any production code.
Back to the GUI.
Subhamoy Saha
Subhamoy Saha 2020년 10월 2일
Yes, changing editable mode will allow to select multiple cells but not help in copy the tabledata. Better to save the data using writetable at frequent interval (manually or using timer) to avoid loss of data. What I follow is to save the data as soon as it is updated. But might be not suiatable for very frequent table data update cases. Looking forward for better solution.
I was using GUIDE created GUI for controlling instruments and recording data. Currently tried to shift to appdesigner but it is too slow in calculation, plotting etc. Miles to go to be useful in reallife applications.

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


Feng
Feng 2019년 10월 10일
i also have this problem with 2019b. has anyone found a solution?
  댓글 수: 8
Feng
Feng 2020년 11월 13일
I got a workaround from mathworks. The person who solved this for me is:
Tej Patel
Mathworks Technical Support Department
good luck!
Nachiketa Chauhan
Nachiketa Chauhan 2021년 9월 10일
Can you share the workaround?

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


Subramaniam Arasakesari
Subramaniam Arasakesari 2020년 12월 8일
Feng / Tej,
I have the same issue. Can you share the work around.
Thank you
Subra.

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by