unrecognized functions or variable

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 Comment

If you are referring to this function:
do you have the Deep Learning Toolbox installed and have a valid license for it?

Sign in to comment.

 Accepted Answer

John D'Errico
John D'Errico on 7 Dec 2021
Edited: John D'Errico on 7 Dec 2021
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.

More Answers (1)

idan noy
idan noy on 9 Dec 2021
Edited: idan noy on 9 Dec 2021
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.

Categories

Products

Release

R2019b

Asked:

on 7 Dec 2021

Edited:

on 9 Dec 2021

Community Treasure Hunt

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

Start Hunting!