thanks to the help of Mr. Vito Antonio Nardi (in the web site https://www.researchgate.net/) the deployment problem is solved. the solution proposed by Mr. Vito Antonio Nardi is to make changes to the stm32f429.ld file in parenthesis is Mr. Vito's proposal: (I found a workaround for your issue:
* install Embedded Coder Interface to QEMU Emulator (it will be needed for the tests)
* use the .ld file attached, you can put it in some arbitrary folder
* add the full path to .ld file in your script, for example:
buildConfiguration.LinkerFlags = '-mcpu = cortex-m4 -mthumb -mlittle endian -mthumb-interwork -TC: \ ProgramData \ MATLAB \ SupportPackages \ R2018b \ 3P.instrset \ mbedlibrary-stm.instrset \ 0f02307a0877 \ TARGET_DISCO_F429ZI \ TOOLCHAIN_GCC_ARM \ STM32F429xI .ld '
for me (see also attached file)
as you can see from the .mat report, it works.
In fixing the .ld file I made some assumption about Discovery memory mapping which should be correct. Anyway before going further in your projects please make some preliminary (and simple) tests to see wheter it works as expected. )
Best Answer