standalone desktop - loading mat file error
Show older comments
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)
Categories
Find more on Get Started with Microsoft .NET in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!