Run Initialization for Task (5) Mask creation

2 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

Cris LaPierre
Cris LaPierre il 17 Set 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);

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by