Problem with Simulink Onramp Task 7.2
69 ビュー (過去 30 日間)
古いコメントを表示
Hi,
During the Simulink Onramp, I've stranded on Task 7.2 with the following issue. All code is correct and checked a few times now. Since I don't know the function that errors or what input is of type char, I'm stuck. I've tested to replace the MATLAB function with the fcn-block and then everything works fine. As soon as I add a MATLAB function block, i get the error - no matter if it is the prepared block from the task or a nex from simulink. It does not matter what code I fill it with, so it feels like there is a missmatch in the communication from Simulink into the block type itself.
![Problem on Task 7.2 MATLAB Function Block.JPG](https://www.mathworks.com/matlabcentral/answers/uploaded_files/231116/image.jpeg)
11 件のコメント
Michael Rodelo
2023 年 3 月 26 日
Hi, I can't add the ^ command by pressing alt+94, the application links this to a shortcut and not to the typing inside Matlab.
Ayla
2024 年 3 月 7 日
移動済み: Dyuman Joshi
2024 年 3 月 7 日
I could not type *,(),^, and also could not use paste, what can I do...
回答 (5 件)
Srivardhan Gadila
2019 年 8 月 5 日
I have brought this issue to the notice of our developers. They will investigate the matter further.
0 件のコメント
Faiz Zaidi
2020 年 9 月 19 日
The problem was with incorrect or not enough placements of brackets .
use this code
power = 0.5*Cp*rho*A*(2*g*abs(deltaH))^(3/2);
it will surely work
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/362845/image.jpeg)
2 件のコメント
Aaro
2024 年 3 月 5 日
The problem can be fixed when you click "A = pi*10^2; % Area of turbine blade" and double the line so you can add other commands power = 0.5*Cp*rho*A*(2*g*abs(deltaH))^(3/2); there.
0 件のコメント
Erwin Calvin
2024 年 6 月 4 日
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1708926/image.png)
Why is the signal assessment missing?I tried to restart several times but the problems stay the same.Please help :(
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Simulink Environment Customization についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!