configureCallback unrecognized function in R2019b

3 vues (au cours des 30 derniers jours)
Nick Bourgeois
Nick Bourgeois le 29 Oct 2020
Commenté : Nick Bourgeois le 23 Nov 2020
On this page:
it describes how to use configureCallback with a TCP/IP connection, and at the bottom it says that it was added in R2019b.
I installed 2019b and I find that I can display configureCallback in the help browser, but it does not have any of the TCP/IP related stuff, and on the TCP/IP help page it doesn't have anything about using configureCallback with it.
I get an error message that says "Unrecognized function or variable 'configureCallback' "
So my question is, what do I need to use this functionality? Do I need a toolbox? Do I need a newer version than R2019b?

Réponse acceptée

Walter Roberson
Walter Roberson le 29 Oct 2020
configureCallback is a method build into some classes (rather than being a .m of its own.)
It looks to me as of configureCallback existed as a serialport method in R2019b timeframe, but that the tcp method was not added until R2020b -- notice that the UDP object page says R2020b.
I have my computer searching functions now for confirmation.
  2 commentaires
Walter Roberson
Walter Roberson le 29 Oct 2020
I confirm that up through R2020a, configureCallback is only for serialport objects (unless it exists in a toolbox that I cannot install on Mac such as Data Acquisition Toolbox, or is in a toolbox that I do not have, such as Automated Driving. I have a fair number of toolboxes, but even I have limits on how many I can spend meaningful time learning.)
Nick Bourgeois
Nick Bourgeois le 23 Nov 2020
Thanks! I asked my IT dept to install 2020b and I've confirmed that everything works as expected.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by