MATLAB: Genrate Code to CCS4/5 using Matlab Simulink-Code

ccs and matlabcode generation

I followed all the steps which are listed in the following YouTube https://www.youtube.com/watch?v=AY4GzMLl30A. However, I still not able to use it.
Im using Matlab16a and CCS4
WHEN I USE xmakefilesetup, I DON’T SEE THE INSTALLED CCS4. Does that mean Matlab doesn't recognize or identify CCS4 in my PC?
>> checkEnvSetup('ccsv4','f28335','check')
1. CCSv4 (Code Composer Studio) Your version : Required version: 4.0.0 to 4.2.0 Required for : Code Generation TI_DIR=""
2. CGT (Texas Instruments C2000 Code Generation Tools) Your version : Required version: 5.2.1 to 5.2.3 Required for : Code generation C2000_CGT_INSTALLDIR=""
3. DSP/BIOS (Real Time Operating System) Your version : Required version: 5.33.05 to 5.41.09.34 Required for : Code generation CCSV4_DSPBIOS_INSTALLDIR=""
4. XDC Tools (eXpress DSP Components) Your version : Required version: 3.16.02.32 or later Required for : Code generation
5. Flash Tools (TMS320C28335 Flash APIs) Your version : Required version: 2.10 Required for : Flash Programming FLASH_28335_API_INSTALLDIR="" >> Thanks

Best Answer

Your Setup isn't pointing to the directories it needs.
Try running checkEnvSetup('CCSv4','f28335','setup') -> this will walk though though each section and you can select the needed directories.
Documentation link (login may be required): http://www.mathworks.com/help/ecoder/ref/checkenvsetup.html
Related Question