how cretae time dependent variable in simulink matlab?

조회 수: 3 (최근 30일)
stack programer
stack programer 2016년 3월 27일
편집: stack programer 2016년 3월 27일
hi,i had a question,i want to in simulink matlab,defined a time dependent variable. for example
v=t+1
how i can create it?please answer me.thanks

답변 (1개)

Azzi Abdelmalek
Azzi Abdelmalek 2016년 3월 27일
Use a clock block to generate a time.
  댓글 수: 2
stack programer
stack programer 2016년 3월 27일
편집: stack programer 2016년 3월 27일
when i for constant v that now it should be variable clock it returns
The current directory 'd:\matlab\matlab production server\r2015a\bin' is reserved for MATLAB files.
Please change your current directory to a writeable directory outside of the MATLAB installation area.
Component: Stateflow | Category: General error
i want to display block is change with time,with this method it is only show a value if even this error is fixed. any way thanks for reply
stack programer
stack programer 2016년 3월 27일
편집: stack programer 2016년 3월 27일
i fixed errors but display block is constant.i want to it's value be dynamic. thanks for attention

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

카테고리

Help CenterFile Exchange에서 Create Large-Scale Model Components에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by