Simulink Onramp - 7.2 Task 1 issue

19 views (last 30 days)
Akarsh
Akarsh on 27 Jun 2020
Answered: Lalit on 2 Feb 2026 at 16:07
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 Comment
Gowtham K K
Gowtham K K on 14 Sep 2020
It's not even opening and hence can't go to the next level also!

Sign in to comment.

Answers (2)

Faiz Zaidi
Faiz Zaidi on 19 Sep 2020
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 Comments
Sothorn Heng
Sothorn Heng on 19 Sep 2021
it's not working, bro
I tried so many times already!
Paris
Paris on 28 Aug 2023
it isn't working for me either. it is just giving me a headache.

Sign in to comment.


Lalit
Lalit on 2 Feb 2026 at 16:07
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

Categories

Find more on Simulink Environment Customization in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

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

Start Hunting!