Warning: Class ':all:'

11 views (last 30 days)
hamdi
hamdi on 31 Aug 2011
hi, However, when I try to run my standalone application I receive the following error:
Warning: Class ':all:' is an unknown object class. Object 'net' of this class has been converted to a structure. > In nnpredict2 at 15 Undefined command/function 'sim'. Error in ==> nnpredict2 at 41
plz help me... Thanks in advance

Accepted Answer

Daniel Shub
Daniel Shub on 31 Aug 2011
It seem the application makes use of a user defined class called all and that the compiled application does not have this class included in it. Did you compile the application yourself? Do you have the source code?

More Answers (1)

hamdi
hamdi on 31 Aug 2011
yes I have the code source: load data; assignin('base','net',net); selected_net = evalin('base',selected_net);
result = sim(selected_net,charvec);
[val, num] = max(result); ??

Tags

Community Treasure Hunt

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

Start Hunting!