standalone desktop - loading mat file error

1 view (last 30 days)
Meir Alfassi
Meir Alfassi on 27 Jun 2019
Edited: Meir Alfassi on 27 Jun 2019
when i start the stand alone app and uploading mat file i get:
Warning: Variable 'lgraph_1' originally saved as a nnet.cnn.LayerGraph cannot be instantiated as an object and will be read in as a uint32.
Warning: Variable 'net' originally saved as a DAGNetwork cannot be instantiated as an object and will be read in as a uint32.
Warning: Variable 'options' originally saved as a nnet.cnn.TrainingOptionsSGDM cannot be instantiated as an object and will be read in as a uint32.
Error using classify (line 123)
Requires at least three arguments.
the code is:
[filename, pathname] = uigetfile({'*.mat'},'Choose Model - .mat File');
fullFileName = fullfile(pathname, filename);
app.Model=load(fullFileName);
and the classify is:
label = classify(app.Model.net,img);
in appdesigner its work when i start the stnadalone its not working.

Answers (0)

Community Treasure Hunt

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

Start Hunting!