Borrar filtros
Borrar filtros

Why disp(label) command is not working with run initialization 'on'

4 visualizaciones (últimos 30 días)
couldn't submit one task (task 5 of 'masking subsystems' from 'Subsystems') in Simulink Fundamentals), as per my knowledge, am trying to present the correct answer, where the answer given in the solution category is the same as mine. am really stuck here. its not accepting my submitioon, please help

Respuesta aceptada

Rahin Vadsariya
Rahin Vadsariya el 28 de Jun. de 2022
Hello,
This issue is a bug in MATLAB R2022a and is fixed in R2022a Update2. Please upgrade your MATLAB to latest update to alleviate the issue. You may follow the below mentioned workaround for previous release.
The cause for the issue is that currently, the assessment expects the answer to be "disp(label)", that is without the semicolon. Whereas, by following the instructions, you end up submitting "disp(label);"(which includes a semicolon).
The temporary workaround is manually deleting the semicolon after "disp(label)" before submission. Additionally, make sure that there are no blank lines after the "disp(label)" command. There should be only one line in the submission.
Follow the same guidelines for successfully submitting Task 6.

Más respuestas (0)

Categorías

Más información sobre MATLAB en Help Center y File Exchange.

Productos


Versión

R2022a

Community Treasure Hunt

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

Start Hunting!

Translated by