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
조회 수: 3 (최근 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)
댓글 수: 0
답변 (3개)
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
댓글 수: 0
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
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?
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 Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!