Onece the fclose(Mycom) function is called, the program in the device connected to PC would restart,why??

1 view (last 30 days)
In the serial conmmunication between matlab and device,say,STM32,after that,when I use fclose() to close the com,my program in the STM32 will run from the main(),why?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!