LiveLink™ for MATLAB® enables you to combine the MATLAB programming tools with a COMSOL model object. A benefit of this integration is the ability to access results from the MATLAB workspace. Another benefit is that you can integrate COMSOL modeling commands into MATLAB scripts, taking full advantage of all available tools for controlling the flow of your code. This section explains how to do this efficiently, by introducing MATLAB variables into your COMSOL model and updating only the affected parts of your model object.