Undefined function or variable 'createTarget'.
1 view (last 30 days)
Show older comments
Hugh Dowling on 25 Jul 2018
Commented: Denis Gurchenkov on 26 Jul 2018
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)?
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).
Find more on ARM Cortex-M Processors in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!