# How to change dose intervals or activate/deactivate dose during simulations in SimBiology?

1 visualización (últimos 30 días)
Hanwen Wang el 18 de Mayo de 2020
Comentada: Hanwen Wang el 18 de Mayo de 2020
I'm trying to simulate a Q3/4W dose regimen which administers a drug three times per 28-day treatment cycle. That is, I want a dose to be administered on day 1, 8, and 15 during each 28-day cycle for 15 cycles, so the dose intervals are not the same. Is it possible to change dose intervals during the simulation or deacctivate the dose after day 15 (in the first cycle) and reactivate it on day 1 for the second cycle? What is the best way to do it? Thank you!
##### 0 comentariosMostrar -2 comentarios más antiguosOcultar -2 comentarios más antiguos

Iniciar sesión para comentar.

Sietse Braakman el 18 de Mayo de 2020
Hi Hanwen,
If I understand you correctly, you could follow one of two routes:
1. use three separate Repeat Doses. One for day 1, one for day 8, one for day 15. Then apply all three doses together in your simulation. This would be the best solution if you want to repeat the Q3/4W beyond 28 days, e.g. the 15 cycles you describe
2. use a single Schedule Dose and have a line for each dose. You could do this manually but that would be tedious for 15 cycles. You can make your life easier by click on "Editor" (circled in the attached screenshot) and give entries in MATLAB code for "Time", "Amount" and "Rate" (leave Rate empty if there is no associated rate with the dose amount). E.g.
time = repmat([1 8 15],1,15)
amount = repmat([100 200 300],1,15) % assuming dose at t = 1 is 100, t=8 is 200, t = 15 is 300.
rate = repmat([200 400 600],1,15)
Option 2 is probably the preferred solution if you only want a single dose object to deal with (as opposed to the 3 repeat doses from option 1.
##### 1 comentarioMostrar -1 comentarios más antiguosOcultar -1 comentarios más antiguos
Hanwen Wang el 18 de Mayo de 2020
Thank you!

Iniciar sesión para comentar.

### Más respuestas (0)

Más respuestas en  SimBiology Community

### Categorías

Más información sobre Scan Parameter Ranges en Help Center y File Exchange.

R2020a

### Community Treasure Hunt

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

Start Hunting!

Translated by