My guess is, instead of calling the classify() method of a deep neural network object, you are calling this classify function. That's likely happening because app.net1 is not the network object you expect it is.
Try using the debugger in AppDesigner to confirm the loaded network object is a deep neural network. It's possible that when you are importing the network (e.g. loading from file), you're not getting the network object you think you are.