필터 지우기
필터 지우기

Error on InitFcn CallBack (using MatLAB (2016a) & CCSV6)

조회 수: 1 (최근 30일)
Warusahennedige Fernando
Warusahennedige Fernando 2016년 9월 22일
댓글: Pravesh Srivastava 2020년 6월 2일
Hi, I am trying to use a Ti Piccolo Launchpad F28027 using MatLAB embedded coder support. I am using CCS_V6 for this purpose and configured the MatLAB (2016a release) using 'targetinstaller' and 'targetupdater'.
Although I couldn't get much examples/videos I used the available for CCS_V5. I have downloaded an example DC/DC Buck Converter and started code generation (Deploy to Hardware) and gets the following error message;
### Build procedure for model: 'c2000_buck_converter' aborted due to an error.
Error evaluating *'InitFcn' callback of C280x GPIO* Digital Output block (mask) 'c2000_buck_converter/C_Tasks/GPIO_31'.
Caused by: Undefined function or variable ' *validateC280xGPIO*'.
Component: Simulink | Category: Block error
could you please help me on resolving this.
thanks,
WAF

답변 (1개)

Brian McKay
Brian McKay 2016년 9월 27일
This looks like a support package installation problem. For some reason, some of the files are missing in your installation.
One thing to try is run “rehash toolboxcache” from MATLAB command window. If this is not working, please try to re-install the support package.
-Brian
  댓글 수: 2
Warusahennedige Fernando
Warusahennedige Fernando 2016년 9월 28일
Hi Brian, thanks for your response, I managed to solve the problem with help from MathWorks.
I am using MatLab(R2016a)and TI CCSv6. They worked well together except for this problem. Had to manually find where the CallBacks for 'InitFcn' were located. Then had to use >>addpath('...'); and >>savepath commands to correct this.
>>addpath('C:\MATLAB\SupportPackages\R2016a\toolbox\target\supportpackages\tic2000\blocks\masks'); >>savepath
thnaks, cheers, WAF
Pravesh Srivastava
Pravesh Srivastava 2020년 6월 2일
Hi,
I am using matlab on ubuntu 18.04, I am getting this error for Audio Device Reader, can you help ?

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

Community Treasure Hunt

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

Start Hunting!

Translated by