Simulink Onramp: Section 7.1 Task 2

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?

Antworten (3)

Marius
Marius am 18 Okt. 2019

3 Stimmen

I solved this problem by selecting "Base Workspace" instead of "Model Workspace" when creating myGain.

4 Kommentare

Michael Dundee
Michael Dundee am 31 Okt. 2019
This worked for me. Thanks!
This should be mentioned in the text.
Rene Chandler
Rene Chandler am 28 Dez. 2019
Thanks I was just looping
David Ruttenberg
David Ruttenberg am 24 Jan. 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 am 14 Apr. 2024
This answer ignores the intial question.

Melden Sie sich an, um zu kommentieren.

Samatha Aleti
Samatha Aleti am 17 Okt. 2019

0 Stimmen

I have heard that this issue is known, and the concerned parties may be investigating further.
Aditya
Aditya am 27 Sep. 2024

0 Stimmen

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.

Kategorien

Produkte

Version

R2019b

Beantwortet:

am 27 Sep. 2024

Community Treasure Hunt

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

Start Hunting!

Translated by