Undefined function or variable 'createTarget'.

조회 수: 3 (최근 30일)
Hugh Dowling
Hugh Dowling 2018년 7월 25일
댓글: Denis Gurchenkov 2018년 7월 26일
I'm trying to develop a target following the guidelines on https://uk.mathworks.com/help/supportpkg/armcortexr/ug/create-the-framework.html
But it's failing at the first step .. I cannot create a target. I have all the apps and licenses I need, Matlab, Simulink Coder, Embedded Coder, etc. so am somewhat perplexed. Is there some additional configuration or steps I must take to enable the createTarget function (maybe add something to a search path)?
Regards, Hugh
  댓글 수: 1
Denis Gurchenkov
Denis Gurchenkov 2018년 7월 26일
Do you have any Target Support Packages installed? https://www.mathworks.com/help/supportpkg/armcortexm/ug/install-support-for-embedded-coder-support-package-for-arm-cortex-m-processors.html
If you do, can you check if this file exists: (matlabroot)/toolbox/target/supportpackages/targetsdk/createTarget.m
Looks like you either don't have it (so no support packages installed) or it is not on the path (so some configuration issue).

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

답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by