Run Initialization for Task (5) Mask creation
7 次查看(过去 30 天)
显示 更早的评论
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?
0 个评论
采纳的回答
Cris LaPierre
2024-9-17
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);
0 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Author Block Masks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!