Info

This question is closed. Reopen it to edit or answer.

How can I realize the simulation using SimMechanics with Serial Receive and Send?

1 view (last 30 days)
I am building a simulator using SIMULINK, mainly with SimMechanics blocks. This simulator receives Bluetooth signals through two COM ports(e.g. COM 1 and 2) and sends a reaction signal back through the COM port(COM 1, COM 1 is used in both receiving and sending). The situation is that one of the two signals is not received well(in fact, received after 10~20 seconds delay) even though the simulation is begun. But when I don't check 'Show animation during simulation' checkbox in the Configuration parameters, both two signals are received and the simulation goes well(receives and sends signals well without animation...). Is there any way that I can realize the simulation with animation?

Answers (0)

Community Treasure Hunt

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

Start Hunting!