how to install Deep Learning Toolbox in MATLAB Runtime

12 ビュー (過去 30 日間)
bo
bo 2023 年 4 月 19 日
コメント済み: Steven Lord 2023 年 4 月 20 日
There is no option to select toolboxes when installing MATLAB Runtime R2022a (9.12). The Deep Learning Toolbox is not installed by default.
Is there a way to install the Deep Learning Toolbox in Runtime via modify the initial file or configuration?
Thanks.

回答 (2 件)

Walter Roberson
Walter Roberson 2023 年 4 月 19 日
No. Toolboxes cannot be installed in MATLAB Runtime.
In particular the only parts of Deep Learning Toolbox that can be deployed are the parts having to do with classifying or predicting data based upon pre-trained networks. Nothing having to do with training networks can be deployed.
  2 件のコメント
bo
bo 2023 年 4 月 19 日
I find partial toolboxes are installed in Runtime.
Walter Roberson
Walter Roberson 2023 年 4 月 19 日
None the less, there is no control over what gets put in there.

サインインしてコメントする。


Steven Lord
Steven Lord 2023 年 4 月 19 日
The MATLAB Runtime is not a way to run arbitrary MATLAB code for free. It is used to run applications created by MATLAB Compiler, and will only run code that was present when the application was built.
From the documentation "MATLAB Runtime only works on MATLAB code that was encrypted when the deployable archive was built. Any function or process that dynamically generates new MATLAB code will not work against MATLAB Runtime."
  3 件のコメント
Walter Roberson
Walter Roberson 2023 年 4 月 20 日
In one set of code, build your network and train it and get out a trained network. Save that network to a .mat file.
In another program, load() the network. You will probably need to use %#function naming the same class() that the network is, such as
%#function SeriesNetwork
datastruct = load('MyNetwork.mat', 'net');
net = datastruct.net;
Once the network is loaded, you can use it to predict().
You can use MATLAB Compiler on the code that does the load() and predict(). When you do that, MATLAB Compiler will automatically bundle in any necessary run-time functions as part of the CTF archive.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeDeep Learning Toolbox についてさらに検索

製品


リリース

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by