how cretae time dependent variable in simulink matlab?

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

Antworten (1)

Azzi Abdelmalek
Azzi Abdelmalek am 27 Mär. 2016

0 Stimmen

Use a clock block to generate a time.

2 Kommentare

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 am 27 Mär. 2016
Bearbeitet: stack programer am 27 Mär. 2016
i fixed errors but display block is constant.i want to it's value be dynamic. thanks for attention

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Create Large-Scale Model Components finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 27 Mär. 2016

Bearbeitet:

am 27 Mär. 2016

Community Treasure Hunt

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

Start Hunting!

Translated by