Understanding Figure Windows & Changing Their Apperances
Show older comments
Hello all
I was wondering if anyone could shed any light on creating figure windows.
Currently I am creating a figure window with the following command:-
Stress = figure(34);
set(Stress,'Name','Stress Experiment');
This command works and gives me the following result:-
But rather then use 2 x seperate lines of code I wanted to create the same result with a single line of code, so I used the following command:-
Stress = figure('Name','Stress Experiment','Number',34)
But this command keeps giving me an error which states:-

I dont understand why i am getting this error?
Why cannot i amend the Number property?
Can anyone help?
Thank you.
Accepted Answer
More Answers (0)
Categories
Find more on Entering Commands 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!