I'm writing an 3D image recognition which sends commands via RS232 to
a Robot which moves to the point in 3D. The problem is the serial
interface: sending string commands via serial/fprintf is very slow (I
really don't know what matlab makes before sending them) in comparison
to e.g. Windows hyperterminal.
My question is if it is better to execute a dll out of Matlab-code
doing the serial things or viceversus writing a program in c++ which
uses the matlab-engine ? What could be the fastest way?
What are advantages/disadvantages ?
Any help would
be appreciated. Thanks in advance!