8 years, 2 months ago.

Why i get a string on Matlab when i use RPCVariable?

Hello everyone,

I am relatively new to the software engineering and I hope that someone can help me out with this issue. I have an mbed NXP LPC1768 and i am getting data (coordinates) from a camera (pixy) and manipulate them in order to relieve some of matlab's work.

I use the RPCVariable function to transfer the coordinates as intigers but when i get the data in matlab is in a string type and not the correct number (e.g. 39 read).

Can mbed send numbers or i should extract them from the string through matlab?

Thanks in advance Panayiotis Corneliou

Question relating to:

Be the first to answer this question.