Problem with Simulink Onramp Task 7.2
69 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentare
Michael Rodelo
am 26 Mär. 2023
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
am 7 Mär. 2024
Verschoben: Dyuman Joshi
am 7 Mär. 2024
I could not type *,(),^, and also could not use paste, what can I do...
Antworten (5)
Srivardhan Gadila
am 5 Aug. 2019
I have brought this issue to the notice of our developers. They will investigate the matter further.
0 Kommentare
Faiz Zaidi
am 19 Sep. 2020
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 Kommentare
Aaro
am 5 Mär. 2024
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 Kommentare
Erwin Calvin
am 4 Jun. 2024
![](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 Kommentare
Siehe auch
Kategorien
Mehr zu Simulink Environment Customization finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!