The development of engineering components often starts digitally and a topology optimization can be the very first step. However, it is important to account for manufacturing properties during the optimization of these structures. For a step-by-step additive manufacturing, we developed a sequential thermodynamic topology optimization and implemented it into the software MATLAB [1]. This optimization process runs step-by-step through predefined sequences. For each sequence, the boundary conditions are updated due to the changed manufacturing load. Furthermore, the design space can be extended and/or reinitialized. Therefore, the optimization properties 1) fixed design, 2) only material can be added or 3) free optimization can be chosen. The next sequence starts when the optimization of the previous sequence converges. Using this MATLAB code, we computed the numerical results for a bridge-like structure in [2]. The given MATLAB code is divided into two files: 1) “topTTO.m” contains the optimization function for a rectangular design space discretized by 4-node square elements and 2) “executer.m” contains the function calls to compute the sequential optimization for the examples in [2]. [1] MATLAB programming language, www.mathworks.com. [2] Miriam Kick, Dustin R. Jantos and Philipp Junker. _Thermodynamic topology optimization for sequential additive manufacturing including structural self-weight._ Submitted. (2022)