tcpclient object with/without Instrument toolbox
Show older comments
So, there are two different tcpclient type of objects: one corresponding to the stand-alone Matlab installation and one implemented by the addition of the Instrument Control Toolbox:
They are not really the same, for example the one from the Instrument Control Toolbox has the writeread method, whereas the other does not.
What I find weird is that on a matlab installation without the Instrument Control Toolbox installed, I can still use the writeread method of the object (and it works as expected!).
How can this be?!?
Admittedly, I did have the Instrument Control Toolbox installed on the machine (but I uninstalled it due to other reasons). Yet, I would have expected the writeread method not to be recognized anymore, after the removal of the toolbox.
Regards,
Cristian
3 Comments
Cristian Berceanu
on 17 Jun 2026 at 14:37
Raag
on 25 Jun 2026 at 10:11
Hi,
It is my understanding that you are observing that the 'writeread' method remains available for 'tcpclient' (and similarly for serialport) even after uninstalling Instrument Control Toolbox.
This is an interesting observation, especially since it involves behaviour persisting after removal of a product. As this may depend on the specifics of the installation, environment, or underlying implementation, it would be best to have this investigated further.
I recommend reaching out to MathWorks Technical Support, so that this scenario can be reviewed in detail. If this behaviour is expected, clarification in the documentation would also be helpful.
Cristian Berceanu
on 25 Jun 2026 at 12:47
Answers (0)
Categories
Find more on Interface-Based Instrument Communication 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!