필터 지우기
필터 지우기

how can I make d^(5.13) ??

조회 수: 1 (최근 30일)
sia
sia 2013년 5월 17일
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

채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 17일
편집: Azzi Abdelmalek 2013년 5월 17일
Use set_param function
d=10
set_param('YourModel/Constant','Value',num2str(d))
  댓글 수: 3
Azzi Abdelmalek
Azzi Abdelmalek 2013년 5월 17일
편집: Azzi Abdelmalek 2013년 5월 17일
sia
sia 2013년 5월 17일
I know, but i dont know how i can use it :( and i didnt finde good examples ...

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Programming에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by