Sawtooth with variable frequancy in simulink or matlab
<p>Same as a VCO (gives a sin wave with a frequancy proportional to the voltage input) i need to build a similar simulink function that will create a sawtooth signal with a frequancy that varies from f-ini to f-max (example : 100Hz to 1000Hz) ruting a time given T (example : 0.5 sec).</p>

<p><strong>EDIT :</strong></p>

<p>After trying the solution proposed by Daniel, here is the Model :
<a href="https://i.stack.imgur.com/Cmurr.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Cmurr.png" alt="Model"></a></p>

<p>Here is the solver configuration :
<a href="https://i.stack.imgur.com/B9pGR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/B9pGR.png" alt="Solver Configuration"></a></p>

<p>But i still get a fixed frequency saw-tooth, here is the output :
<a href="https://i.stack.imgur.com/7fOmO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/7fOmO.png" alt="Signal"></a></p>

<p>What do you suggest ?</p>