MATLAB: Unrecognized function or variable when working with pre-trained network

algorithmdeep learningerrorguiimage processingMATLABneural network

what is the reason of that error and how can i fix it.
i loaded network (alexnet) , and exported layer to workspace in matlab but after runing the project, the layers_1 will disappear in workspace!!
thanks for your help.
here is the layers_1 i exported from DeepNetworkDesigner:
after i Run the project, the layers_1 will disappear:

Best Answer

clear all
deletes all the variables loaded in workspace. It is also unrecommended to add this at top of every script. Remove it to avod deleting any varibles.