very interesting work...but as you are in development, it seems not to be robust enough.
my feeback :
I have the same bug of Tarek. I have tried to modify your code by putting some piece of code :
compos1 = Compos(TipPos,TailPos);
patch(compos1.Shape{1},compos1.Shape{2},'k');
%create tirangles and diamonds
patch(compos1.Shape{3},compos1.Shape{4},'k');
inside one of your for block (at line 206).
After that I had another bug :
??? Subscript indices must either be real positive integers or logicals.
Error in ==> UMLpanel.getinfo at 942
ischildof{ind{i}(j)}(end+1) = clssnmpar{i};
then I just add a test on the value return by ind{i}(j)
This work is undergoing construction, it is inevitable that there are some (or a lot of) errors in it, thanks for letting me know, I will try and work on it ^^.
Great work, but i had a problem.
??? Undefined function or variable "TipPos".
Error in ==> UMLpanel.runUML at 209
compos1 = Compos(TipPos,TailPos);
Error in ==> UMLcreator>@(h,d)obj.Panel.runUML at 43
'tag','Start','string','Start','callback',@(h,d)obj.Panel.runUML);
??? Error while evaluating uicontrol Callback
??? Error using ==> UMLpanel.runUML>arrow_scrolling
Too many input arguments.
??? Error while evaluating figure KeyPressFcn
This looks great, but I think some bugs still need to be worked out. I think a lot of people will be very happy when you get this working! Try regexpressions to look for variations of class names instead of ([' ' clsslist{k}]) and (['=' clsslist{k}]), etc. which takes a lot of space and limits the number of variations you can search for.
Comment only