Effacer les filtres
Effacer les filtres

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 vue (au cours des 30 derniers jours)
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)

Réponses (3)

Fred Smith
Fred Smith le 29 Août 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 le 12 Août 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 commentaires
Kaustubha Govind
Kaustubha Govind le 13 Août 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 le 28 Août 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..

Connectez-vous pour commenter.


Akhilesh Persha
Akhilesh Persha le 27 Août 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.

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by