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 Exchange에서 Simulink에 대해 자세히 알아보기

제품

릴리스

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