Azzera filtri
Azzera filtri

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 visualizzazione (ultimi 30 giorni)
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)

Risposte (3)

Fred Smith
Fred Smith il 29 Ago 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 il 12 Ago 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 Commenti
Kaustubha Govind
Kaustubha Govind il 13 Ago 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 il 28 Ago 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..

Accedi per commentare.


Akhilesh Persha
Akhilesh Persha il 27 Ago 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.

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by