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

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

Do you just happen to have your own JAVA set up? Did you configure your system with a JAVA_HOME environment variable?
my java_home environment variable version is 1.8.0_181 . my matlab java version is Java 1.6.0_17-b04 . I am not an expert on Java . it's first time i work with matlab coder and i dont know what cases this error?!
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.
i solveld it . i reinstall matlab and it work fine now . thank u for trying help me

Sign in to comment.

Answers (0)

Categories

Products

Asked:

on 3 Jun 2020

Commented:

on 4 Jun 2020

Community Treasure Hunt

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

Start Hunting!