필터 지우기
필터 지우기

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 (최근 30일)
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)

답변 (3개)

Fred Smith
Fred Smith 2013년 8월 29일
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 2013년 8월 12일
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
Kaustubha Govind
Kaustubha Govind 2013년 8월 13일
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 2013년 8월 28일
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..

댓글을 달려면 로그인하십시오.


Akhilesh Persha
Akhilesh Persha 2013년 8월 27일
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.

카테고리

Help CenterFile Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by