Clipboard not working in matlab container used with -vnc

7 views (last 30 days)
I can not copy and paste text when I use MATLAB r2022b container image with `-vnc` option.

Answers (1)

Anshuman
Anshuman on 23 Mar 2023
This problem could arise due to the clipboard settings of your VNC client. Try following steps to check this:
  1. Open your VNC client and connect to the MATLAB container.
  2. In the VNC viewer window, go to the "Options" menu and select "Preferences".
  3. Under the "Expert" tab, check the "Accept clipboard from viewers" and "Send clipboard to viewers" options.
  4. Save the changes and restart the VNC viewer.
You should now be able to copy and paste and if the problem persists you can try different VNC client or check the settings of your current VNC client to ensure that clipboard sharing is enabled.
Hope it helps!!

Categories

Find more on Environment and Settings in Help Center and File Exchange

Products


Release

R2022b

Community Treasure Hunt

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

Start Hunting!