Simulink Onramp - 7.2 Task 1 issue

Hi,
I am trying to open matlab editor for the function block in the given task but I am getting the following error : Unrecognized function or variable 'fluids.internal.contextmenu.menuFluids'.
which is followed by a couple similar errors : Warning: Schema generator function did not return a DAStudio.ToolSchema.

1 件のコメント

Gowtham K K
Gowtham K K 2020 年 9 月 14 日
It's not even opening and hence can't go to the next level also!

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

回答 (2 件)

Faiz Zaidi
Faiz Zaidi 2020 年 9 月 19 日

0 投票

Problem was with the incorrect or not enough bracket placement in the code . use this code
power = 0.5*Cp*rho*A*(2*g*abs(deltaH))^(3/2);
Please take care of the brackets .

2 件のコメント

Sothorn Heng
Sothorn Heng 2021 年 9 月 19 日
it's not working, bro
I tried so many times already!
Paris
Paris 2023 年 8 月 28 日
it isn't working for me either. it is just giving me a headache.

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

Lalit
Lalit 2026 年 2 月 2 日

0 投票

Recall that adding inputs or outputs to the MATLAB function automatically changes the number of ports on the MATLAB Function block.
Try adding a function output to return the wave velocity,
v=G2gΔH
. After specifying the additional output, navigate to the parent Simulink model to see the new port

カテゴリ

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

製品

リリース

R2020a

質問済み:

2020 年 6 月 27 日

回答済み:

2026 年 2 月 2 日

Community Treasure Hunt

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

Start Hunting!

Translated by