Effacer les filtres
Effacer les filtres

how can I make d^(5.13) ??

1 vue (au cours des 30 derniers jours)
sia
sia le 17 Mai 2013
I wanna make d^(5.13) such that d = a variable and the user can change the value of that from GUI. I made ist with Constant Block and i wrot d^(5.13) and if i want to chang the variable d i chang whole of the value :(.... with wich block or how can i do it???
THX

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 17 Mai 2013
Modifié(e) : Azzi Abdelmalek le 17 Mai 2013
Use set_param function
d=10
set_param('YourModel/Constant','Value',num2str(d))
  3 commentaires
Azzi Abdelmalek
Azzi Abdelmalek le 17 Mai 2013
Modifié(e) : Azzi Abdelmalek le 17 Mai 2013
sia
sia le 17 Mai 2013
I know, but i dont know how i can use it :( and i didnt finde good examples ...

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Programming dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by