How to use Matlab Toolbox commands in S-Function

I would like to use Matlab Deep learning Toolbox commands in S-Function.
But I always get the same error: Undefined function 'name of function from Deep Learning Tool box (e.g. train)' for input arguments of type 'double'.
Do I need any other toolbox, so i can use Matlab Toolbox commands in S-Function?
Any other option for using Toolbox commands in s-function?
Thank you

Answers (1)

Please refer the below MATLAB Answer link for more information regarding this error message and possible workarounds:
In your case, it seems that you are trying to use the function for which you are not licensed or that function belongs to a toolbox (in this case, deep learning toolbox) that is not installed.
Please refer the below MATLAB Answer link for more information on installing MathWorks products:

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2020b

Asked:

on 17 Dec 2020

Answered:

on 21 Dec 2020

Community Treasure Hunt

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

Start Hunting!