In this article, we develop a simple mathematical GNU Octave/MATLAB code that is easy to modify for the simulation of models governed by fractional-order differential equations, and resolution optimal control problems through Pontryagin's maximum principle (indirect approach control). For purpose, model respiratory syncytial virus (RSV) infection considered. The an improvement one first propose...