# MATLAB: Solving a system of PDE, not on the same control volume

MATLABpde

Hello, i'm trying to solve a problem similar to the one in the attached photo(not the same one…but the same concept): a system of parabolic PDEs, like the heat transfer problem between different materials. how can i do it with MATLAB? from what i understood, PDEPE can solve a system, but only on the same control volume. any other ideas?
i'll thanks your help in implementing a solution of my problem
function [c,f,s] = pdefun(x,t,u,DuDx)    if(x < L)      k = alpha1;    else      k = alpha2;    end    c=1;    f = k*DuDx;    s=0;  end