Undefined function or variable 'createTarget'.

5 次查看(过去 30 天)
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