how cretae time dependent variable in simulink matlab?

2 次查看(过去 30 天)
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 中查找有关 Naming Conventions 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by