hi all,
i am trying to import the function "onehotencode" since it is unrecognized function and can't find the documentation of it from command window.
could use some guidance please.
thanks for the helpers.

1 commentaire

Stephen23
Stephen23 le 7 Déc 2021
If you are referring to this function:
do you have the Deep Learning Toolbox installed and have a valid license for it?

Connectez-vous pour commenter.

 Réponse acceptée

John D'Errico
John D'Errico le 7 Déc 2021
Modifié(e) : John D'Errico le 7 Déc 2021

0 votes

You don't import a function into MATLAB. Perhaps you are thinking Python, or some similar environment.
It looks like onehotencode is supplied by The MathWorks, as part of this toolbox:
So the question is, do you have a license for that toolbox? If not, then you need to buy it. The Mathworks does not give them away. Do you have a MATLAB release that is new enough to offer that toolbox? If not, then you need to upgrade your MATLAB release.

Plus de réponses (1)

idan noy
idan noy le 9 Déc 2021
Modifié(e) : idan noy le 9 Déc 2021

0 votes

hi thank you for replying,
yes that's the function i'm reffering and i do have Deep Learning Toolbox, that's why i don't understand why it isn't working and thought maybe i'm supposed to import it.

Catégories

Produits

Version

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by