Problem with Simulink Onramp Task 7.2
Ä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.

11 Kommentare
Srivardhan Gadila
am 29 Jul. 2019
Can you provide the code you have written in the function block provided by the task.
Jonas Jarlmark Näfver
am 29 Jul. 2019
Srivardhan Gadila
am 1 Aug. 2019
Are you still getting the error?
Can you also provide the exact steps you did which led to causing the mentioned error.
Sourabh Govekar
am 3 Jul. 2020
Bearbeitet: Sourabh Govekar
am 3 Jul. 2020
I also have problem. function block editor is not opening. If I try to open. I am getting following errors.
Warning: Schema generator function did not return a DAStudio.ToolSchema.
Unrecognized function or variable 'ee.internal.contextmenu.menuPowerSystems'.
Error in slCustomizer/customizationMenuPowerSystems>@(cbInfo)(ee.internal.contextmenu.menuPowerSystems('PowerSystems',cbInfo))
Warning: Schema generator function did not return a DAStudio.ToolSchema.
Unrecognized function or variable 'simscape.internal.contextMenu'.
Error in slCustomizer/customizationSimscape>@(cbInfo)(simscape.internal.contextMenu('SimscapeContextMenu',cbInfo))
Warning: Schema generator function did not return a DAStudio.ToolSchema.
Error using feval
Unrecognized function or variable 'sltest.internal.menus.SimulinkTestMenu'.
Warning: Schema generator function did not return a DAStudio.ToolSchema.
Error using feval
Unrecognized function or variable 'sltest.internal.menus.ObserverMenu'.
Warning: Schema generator function did not return a DAStudio.ToolSchema.
Error using feval
Unrecognized function or variable 'sltest.internal.menus.InjectorMenu'.
Warning: Schema generator function did not return a DAStudio.ToolSchema.
Piyush Aphale
am 18 Jul. 2020
same problem
Aditya Raj Singh Udawat
am 15 Aug. 2020
same problem
Maria Kotova
am 15 Sep. 2020
same issue
Gowtham K K
am 15 Sep. 2020
same issue
Hussein Ansar Ayoub
am 30 Okt. 2022
Verschoben: Dyuman Joshi
am 7 Mär. 2024
Warning: an error occurred while parsing class mpt.MiscCustomizer:
Undefined function or variable 'ecoderinstalled'.
> In slCustomizer/internalCustomizationSimulink
In slCustomizer/callAllMethods
In slCustomizer/refresh
In slCustomizer.staticRefresh
In sl_refresh_customizations (line 22)
In slcustomize (line 4)
In simulinkrc (line 34)
In start_simulink (line 19)
In connector.internal.fevalMatlab
In connector.internal.fevalJSON
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
1 Stimme
I have brought this issue to the notice of our developers. They will investigate the matter further.
Faiz Zaidi
am 19 Sep. 2020
1 Stimme
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

2 Kommentare
Shashi More
am 4 Mai 2022
It is helpful to me ...thank you
Rishwanth
am 12 Feb. 2024
it does not work
Jonas Jarlmark Näfver
am 1 Aug. 2019
0 Stimmen
Aaro
am 5 Mär. 2024
0 Stimmen
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.
Erwin Calvin
am 4 Jun. 2024
0 Stimmen

Why is the signal assessment missing?I tried to restart several times but the problems stay the same.Please help :(
Kategorien
Mehr zu Sources finden Sie in Hilfe-Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!