Info

This question is closed. Reopen it to edit or answer.

Why do I receive error " Unable to create com.mathwo​rks.toolbo​x.shared.c​ontrollib.​desktop.To​olGroupWra​pper$Defau​ltToolGrou​p" when using Simulink response optimization?

1 view (last 30 days)
Hi,
whenever I click the button Design Variables Set in Simulink's response optimization window, I get the following error:
Warning: Error occurred while executing callback:
Error using sldodialogs.DesignVarsEditorGC/update (line 296)
Java exception occurred:
java.lang.OutOfMemoryError: Java heap space
at java.lang.String.toCharArray(Unknown Source)
at sun.swing.SwingUtilities2.clipString(Unknown Source)
at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source)
at javax.swing.SwingUtilities.layoutCompoundLabel(Unknown Source)
at javax.swing.plaf.basic.BasicLabelUI.layoutCL(Unknown Source)
at javax.swing.plaf.basic.BasicLabelUI.getPreferredSize(Unknown Source)
at javax.swing.JComponent.getPreferredSize(Unknown Source)
...
Then I usually close the response optimization window again (since the error kept me from selecting any design variables), which gives this warning:
Warning: Unable to create com.mathworks.toolbox.shared.controllib.desktop.ToolGroupWrapper$DefaultToolGroup, for details see
C:\Users\user\AppData\Local\Temp\MATLABDesktopCreateError.log
Why do I get these errors?

Answers (0)

Community Treasure Hunt

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

Start Hunting!