Sorry, I’m not familiar with deep learning tools in MATLAB, as I’ve just used it for signal processing in the past.
I’m not sure if this is the best place to ask. Maybe you could get better help in the MATLAB forum, if you explain your use case (i.e. what you would like to achieve).