tcpclient object with/without Instrument toolbox
显示 更早的评论
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 个评论
Cristian Berceanu
2026-6-17
Raag
2026-6-25
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
2026-6-25
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Interface-Based Instrument Communication 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!