Set and reset Simulink
조회 수: 8(최근 30일)
I am having trouble regarding value holding and reset with a simulink function. When a condition occurs I would like to have that value held until an external reset occurs.
z = 6; % but z stays at 6 even after x does not equal 7
elseif reset ==1 %reset occurs
z = 0;
I would like to trigger a value, hold, use an external signal to reset, and then allow to trigger again. Is there a block that can do this?