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?

1 件のコメント

Yong Zhang
Yong Zhang 2019 年 10 月 17 日
I have same question

サインインしてコメントする。

回答 (3 件)

Marius
Marius 2019 年 10 月 18 日

3 投票

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

4 件のコメント

Michael Dundee
Michael Dundee 2019 年 10 月 31 日
This worked for me. Thanks!
This should be mentioned in the text.
Rene Chandler
Rene Chandler 2019 年 12 月 28 日
Thanks I was just looping
David Ruttenberg
David Ruttenberg 2020 年 1 月 24 日
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 2024 年 4 月 14 日
This answer ignores the intial question.

サインインしてコメントする。

Samatha Aleti
Samatha Aleti 2019 年 10 月 17 日

0 投票

I have heard that this issue is known, and the concerned parties may be investigating further.
Aditya
Aditya 2024 年 9 月 27 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeSimulink についてさらに検索

製品

リリース

R2019b

質問済み:

2019 年 10 月 14 日

回答済み:

2024 年 9 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by