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!