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?
MATLAB: Configure clock in simulink to inherit the sample time
function-call generatorMATLABmodels-functionsimulationsimulink
Best Answer