Clear Filters
Clear Filters

Simulink Onramp: Section 7.1 Task 2

7 views (last 30 days)
Gerardo Lopez-Lankenau
Gerardo Lopez-Lankenau on 14 Oct 2019
Commented: Justin on 14 Apr 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?

Answers (2)

Marius on 18 Oct 2019
I solved this problem by selecting "Base Workspace" instead of "Model Workspace" when creating myGain.
David Ruttenberg
David Ruttenberg on 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 on 14 Apr 2024
This answer ignores the intial question.

Sign in to comment.

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


Find more on Simulink Functions in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!