Help please!! Matlab Coder toolbox not being executed. When i type ccoder in command window it shows error. when i type command ver it's show there is MATLAB coder version 2.3
Show older comments
After typing ccoder or coder in command window this errors are shown
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at com.mathworks.project.impl.NewOrOpenDialog.<init>(NewOrOpenDialog.java:402)
at com.mathworks.project.impl.NewOrOpenDialog.<init>(NewOrOpenDialog.java:81)
at com.mathworks.project.impl.NewOrOpenDialog$14.run(NewOrOpenDialog.java:512)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
5 Comments
Walter Roberson
on 3 Jun 2020
Do you just happen to have your own JAVA set up? Did you configure your system with a JAVA_HOME environment variable?
khaled mohamed
on 3 Jun 2020
Walter Roberson
on 4 Jun 2020
For the moment, unset java_home before starting matlab and try again. Be sure to take note of the current value so that you can put it back after the test.
khaled mohamed
on 4 Jun 2020
khaled mohamed
on 4 Jun 2020
Answers (0)
Categories
Find more on Startup and Shutdown in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!