Original Post
Hi. Im making a small program for my dad which involves 2 little cars, now one of the cars should move, depending on what a variable from matlab says the distance is. My problem is, how do i get that variable in matlab, to be passed on to my C++ program. I have thought of using a file, however this would really need to be dynamic, so that as soon as the variable is changed, it will affect the distance of the car at the same time. Does anyone know what i should do for this?