Matlab Coder toolbox not being executed. When i type ccoder in command window it shows error. The ccoder toolbox is not availble within my matlab gui but it shows it is present where it is installed. Please tell me what the exact problem is

1 Ansicht (letzte 30 Tage)
After typing ccoder 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)

Antworten (3)

Fred Smith
Fred Smith am 29 Aug. 2013
If you do not have MATLAB Coder installed (as indicated by ver) then the commands ccoder and coder will not work and should not be installed. That ccoder is recognized at all is probably a bug. However, the directory toolbox/coder may be installed and contains shared components used by other products.
-Fred

Adi gahlawat
Adi gahlawat am 12 Aug. 2013
I apologize if I didn't understand this properly but think the command is just 'coder' and not 'ccoder'. Upon typing coder in the command window, a GUI will pop upfor the new project file and then you continue as you normally would.
  3 Kommentare
Kaustubha Govind
Kaustubha Govind am 13 Aug. 2013
Ajinkya: What version of MATLAB are you using? Also, when you execute the command ver at the MATLAB prompt, is MATLAB Coder listed amongst the installed products?
Ajinkya  Talele
Ajinkya Talele am 28 Aug. 2013
I'm using MATLAB 2012b. no it does not show matlab coder when i type ver. But it shoes the coder folder where it is installed..

Melden Sie sich an, um zu kommentieren.


Akhilesh Persha
Akhilesh Persha am 27 Aug. 2013
Hi Anjinkya,
I faced similar problems for getting Matlab coder to work.
Can you try the following commands:
$ rehash toolboxcache
$ restore defaultpath
$ savepath pathdef.m
And see if matlab coder works for you.

Kategorien

Mehr zu Introduction to Installation and Licensing finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by