Open the application.
Enter the command xprop | grep WM_CLASS in a terminal window on the same desktop.
Click on the application window.
Read the class name in the terminal window. The class name is the second of the two quoted strings displayed, usually capitalized. The first one is resource, usually lower case.
matlab figure: com-mathworks-util-PostVMInit