In Conclusion, I could work in external mode, with my Arduino MEGA 2650 Made in China whith CH340 controller in Matlab R2017b, in effect we must to change Boud Rate, in may case worked using 153660 as well, the example code is:
For the follow example you must to have opened your Simulink Project, after that:
>>get_param(gcs, 'name');
In Worspace windows :
Name Value
ans 'ArduinoTest'
>>codertarget.arduinobase.registry.setBaudRate('ArduinoTest',153660)
For checking Boud Rate you can wrinte im promp
>>codertarget.arduinobase.registry.setBaudRate('ArduinoTest')
After that you can try to play your Clone Arduino Made in China in External Mode.
Thanks a lot