Why do I receive an error when I use the PROPEDIT function in MATLAB 7.0 (R14)?

I receive an error when I call the PROPEDIT function on multiple handles using the 'v6' option in MATLAB 7.0 (R14).
b = [1:3;4:6];
fh1 = figure;
subplot(1,3,1), bar('v6',b);
subplot(1,3,2), bar('v6',b);
subplot(1,3,3), bar('v6',b);
ah1 = findobj('parent',fh1,'type','axes');
propedit(fh1,'v6');
propedit(ah1,'v6');
Error:
??? In an assignment A(:) = B, the number of elements in A and B
must be the same.
Error in ==> selectobject at 49
scribeaxes.methods('selectobject',h,action);
Error in ==> propedit at 98
selectobject(h);

 Accepted Answer

This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
This appears to be bug in the way MATLAB 7.0 (R14) handles the PROPEDIT function when multiple handles are passed in using the 'v6' option.
There are currently no known workarounds.

More Answers (0)

Products

Community Treasure Hunt

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

Start Hunting!