Run Initialization for Task (5) Mask creation

2 views (last 30 days)
I need to ensure that the string is up to date by running the mask initialization commands I wrote in the previous task. However, I'm unable to find a way to do this or the code to run the initialization. The attached images provides additional context.
Could you please guide me through the process or help with the necessary code?

Accepted Answer

Cris LaPierre
Cris LaPierre on 17 Sep 2024
You have added the text 'label' to the disp command. However, from the task description, we are told that label is a variable. Therefore, you need to display the variable value contained in label and not the string 'label'.
To do this, simply remove the quotes:
disp(label);

More Answers (0)

Community Treasure Hunt

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

Start Hunting!