Hi bengchet, thanks for your reply.
I have disabled the aggresively cache compiled core, but still I am getting the error
c:/programdata/matlab/supportpackages/r2017a/3p.instrset/arduinoide.instrset/idepkgs/packages/cytron/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: C:\Users\user\AppData\Local\Temp\arduino_build_730431/MecanumRobotCoding.ino.elf section `.text' will not fit in region `rom'
c:/programdata/matlab/supportpackages/r2017a/3p.instrset/arduinoide.instrset/idepkgs/packages/cytron/tools/arm-none-eabi-gcc/4.8.3-2014q1/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: region `rom' overflowed by 14108 bytes
collect2.exe: error: ld returned 1 exit status
exit status 1
Error compiling for board CT-ARM.