Matlab 2010b com port issues with Windows XP

2 views (last 30 days)
I have created an executable using Matlab 2010b on a machine running 32 bit windows 7. I need to run this application on a very old and slow XP machine.
As part of my application I am linking in a library that I use to commuicate with the unit under test via a USB serial port.
My application works perfectly on windows 7 but on XP the first time I access the library I find that although it seems to have successfully communicated with the unit, the next time I try and communicate with the unit the connection has been broken and the appplication fails, reporting an error with a datya type.
Do you know of any compatability issues between XP and the com API on Matlab.
I have also tried running the calls that cause the problems on the Matlab command line on another XP machine running an older version of Matlab and get the same result, they fail in the same way.

Answers (1)

Walter Roberson
Walter Roberson on 13 Mar 2014
virtual USB devices generally come with their own drivers, especially in the XP time frame (I get the impression that there is increasing driver standardization in Vista and Windows 8.)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!