In Matlab, if I were to do this:
lines
lines(1)=plot(1:5,1:5)
lines(2)=plot(1:10,1:10)
Lines would be registered as a vector that stores line objects, however in App-Designer, I did the same thing, but it somehow interprets the objects as doubles instead of lines. In my properties I declared the global variable lines like so:
lines
I then used the property in a separate function the same as above
app.lines(1)=plot(1:5,1:5)
app.lines(2)=plot(1:10,1:10)
The problem I am having is that it is registering it as a double instead of a line object. Does anyone know why this is? If so, is there any possible fixes?