- Right click on your embedded matlab function block and go to Subsystem Parameters....
- Select the check-box Treat as atomic unit.
- Enter the block sample time value in Sample time property.
embedded matlab function block sample time
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hi
I wanted to know if it is possible to change the sampling time with which the embedded matlab function block is executed. Basically my solver time is 1e-6. However i want the embedded matlab function block to run at 20e-3.
0 Commenti
Risposte (1)
TAB
il 3 Lug 2012
Modificato: TAB
il 3 Lug 2012
Always make sure that, for multirate simulink system, your block sample time must be integer multiples of model's base sample time.
0 Commenti
Vedere anche
Categorie
Scopri di più su Schedule Model Components in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!