Why does the RESET function fail to reset the 'WindowStyle' property of figures in MATLAB 7.0.4 (R14SP2)?
1 view (last 30 days)
Show older comments
I use the following code to create a plot:
plot(1:10);
set(gcf, 'WindowStyle', 'docked');
I then use the following code to reset the figure properties:
reset(gcf);
However, the 'WindowStyle' property is not reset to 'normal'. In MATLAB 7.0.1 (R14SP1) and prior versions, the RESET function can reset the 'WindowStyle' property of figures.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This bug has been fixed in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
Between MATLAB 7.0.1 (R14SP1) and 7.0.4 (R14SP2), the behavior of the RESET function changed. In MATLAB 7.0.4 R14SP2, the RESET function does not reset the 'WindowStyle' property of figures. This is documented in the RESET function reference page. To view this documentation, type the command:
doc reset
0 Comments
More Answers (0)
See Also
Categories
Find more on Graphics Object Programming in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!