I am trying to call 'getDefaultToolkit.getSystemClipboard()' method from MATLAB after importing the required libraries:
>> import java.awt.Toolkit.*
>> cb = getDefaultToolkit.getSystemClipboard();
However, this gives the following error in R2015b:
(This issue happens only in R2015b, the method runs without any error in R2015a and R2014a.)
Undefined variable "getDefaultToolkit" or class "getDefaultToolkit.getSystemClipboard".
Why is this happening?
0 Comments
Sign in to comment.