Simulink Onramp: Section 7.1 Task 2

8 visualizaciones (últimos 30 días)
Gerardo Lopez-Lankenau
Gerardo Lopez-Lankenau el 14 de Oct. de 2019
Respondida: Aditya el 27 de Sept. de 2024
I am doing the Simulink Onramp course and on section 7.1 Task 2 it does not complete, because when submitting it says that the variable "myGain" is not define in the MATLAB Workspace, how can I solve this to conitnue my progress?

Respuestas (3)

Marius
Marius el 18 de Oct. de 2019
I solved this problem by selecting "Base Workspace" instead of "Model Workspace" when creating myGain.
  4 comentarios
David Ruttenberg
David Ruttenberg el 24 de En. de 2020
Confirmed that this works. For those of you who are new to MATLAB, Base Workspace is located in the dialog box after clicking on the three vertical dots button.
Justin
Justin el 14 de Abr. de 2024
This answer ignores the intial question.

Iniciar sesión para comentar.


Samatha Aleti
Samatha Aleti el 17 de Oct. de 2019
I have heard that this issue is known, and the concerned parties may be investigating further.

Aditya
Aditya el 27 de Sept. de 2024
Use A and a to calculate
a+A
2
. Store the result in a variable named meanAa.a+A2. Store the result in a variable named meanAa.

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by