configure clock in simulink to inherit the sample time

4 Ansichten (letzte 30 Tage)
aparnasri sekar
aparnasri sekar am 13 Jul. 2020
Beantwortet: rubindan am 13 Jul. 2020
I am trying to use the clock block inside a subsystem which has a function call generator, this results in the error 'clock has sample time [0, 0]. Only constant (inf) or inherited (-1) sample times are allowed in function call subsystem'. How to get rid of this?

Akzeptierte Antwort

rubindan
rubindan am 13 Jul. 2020
To get arround it you can put the clock block outside this subsystem and creatre an additional input for the clock time.

Weitere Antworten (0)

Kategorien

Mehr zu Prepare Model Inputs and Outputs finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by