2018-03-12 09:10 AM
Hi --
I use 2016b Matlab version with STM32F429ZI nucleo board.
I am tring to use External mode with simulink,
I followed
the example and the instructions decribed in ''the MAT/TARGET instruction (Hands On, Rev 2.2, Page 86-105). I follow all procedure mentioned on MAT-Target PDF, but when I begin connecting my model to the target this error message occurred (Picture below):''Error occurred while executing External Mode MEX-file 'ext_comm': Failed to connect to the target. Possible reasons for the failure:
a) The target is not switched on.
b)The target is not connected to your host machine.
c) The application for the model is not running on the target. You might have clicked the Stop button. If the Run button is not dimmed, click it. Otherwise, click the Build button, which downloads and runs your application on the target.
Any help for solving this issue please ?
#stm32-mat/target-matlab #simulinkSolved! Go to Solution.
2018-03-12 08:48 PM
Hi, Abdelhak
(1.)
(2.)
(3.)
2018-03-12 09:50 AM
2018-03-12 11:07 AM
Thanks for your response
But i don't understant how to use USB Serial Port ? Instead STMicroelectronics STLink Virtual COM Port !!!! ?
Any help please ?
2018-03-12 08:48 PM
Hi, Abdelhak
(1.)
(2.)
(3.)
2018-03-13 08:01 AM
panuwat.s
All it's ok now, thank you very much.