Deep learning toolbox keeps disappearing

4 views (last 30 days)
Hey community,
Everytime I close Matlab I will have to re-install the deep learning toolbox in order to be able to load and interpret the convolutional neural networks. I have also noticed that the toolbox's apps are missing in the Apps section but in the add-on sectionI find the deep learning toolbox installed so I have to uninstall and reinstall it!
Thank you so much.
Here's the error:
In main/importSignalMenuSelected (line 769)
In matlab.apps.AppBase>@(source,event)tryCallback(appdesigner.internal.service.AppManagementService.instance(),app,callback,requiresEventData,event) (line 37)
In matlab.ui.internal.controller/WebMenuController/fireActionEvent (line 67)
In matlab.ui.internal.controller/WebMenuController/handleEvent (line 55)
In matlab.ui.internal.controller.WebMenuController>@(varargin)obj.handleEvent(varargin{:}) (line 36)
Undefined function 'classify' for input arguments of type 'uint32'.
Error in main/importSignalMenuSelected (line 770)
type=classify(net.Faridtypeclassifier,X);
Error using matlab.ui.internal.controller.WebMenuController/fireActionEvent (line 67)
Error while evaluating Menu Callback.

Accepted Answer

David Willingham
David Willingham on 9 Aug 2022
Perhaps your preferences directory has become corrupted. Maybe try deleting the preferences directory and restarting MATLAB.
To find the preferences directory, type:
>> prefdir
Delete the folder and then restart MATLAB. This will force MATLAB to regenerate it again.
  2 Comments
Farid
Farid on 9 Aug 2022
Thank you so much David,
Did that, I will keep you updated on the result.

Sign in to comment.

More Answers (1)

yanqi liu
yanqi liu on 9 Aug 2022
Edited: yanqi liu on 9 Aug 2022
yes,sir,may be use
type=classify(net.Faridtypeclassifier,mat2gray(X));
  2 Comments
Farid
Farid on 9 Aug 2022
Thank you, it doesn't help really. when I try to run:
net=load("test.mat"); %test mat is a convolutional neural network.
I face the following warning:
Warning: Variable 'layers_1' originally saved as a nnet.cnn.layer.Layer cannot be instantiated as an object and will be read in as a uint32.

Sign in to comment.

Categories

Find more on Image Data Workflows in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!