Undefined function or variable 'createTarget'.

2 views (last 30 days)
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 Comment
Denis Gurchenkov
Denis Gurchenkov on 26 Jul 2018
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).

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by