Can't progress on simulink onramp in MATLAB function block

1 visualización (últimos 30 días)
Baburajan
Baburajan el 13 de Feb. de 2023
Comentada: Ayla el 7 de Mzo. de 2024
I can't type power symbol (^) on onramp in MATLAB function block to type the equation

Respuestas (1)

Luca Ferro
Luca Ferro el 13 de Feb. de 2023
you can try to either:
  • copy paste the ^ symbol from here (an annoying procedure)
  • use the function power (A,B). Notice that this is an element wise power and not a regular power. In your case it shouldn't matter i think. (an unefficient method)
0.5*Cp*rho*A*power(2*g*abs(deltaH),3/2)
  • copy paste this line of code (a temporary fix)
power= 0.5*Cp*rho*A*(2*g*abs(deltaH))^(3/2)
  2 comentarios
Baburajan
Baburajan el 14 de Feb. de 2023
The copy paste is also not working and the onramp is not opening on the matlab software, So I am doing it in the browser and the element wise power is also not working.
Ayla
Ayla el 7 de Mzo. de 2024
Is there any method to solve it?

Iniciar sesión para comentar.

Categorías

Más información sobre Programmatic Model Editing en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by