LiveLink for MATLAB Blog Posts
Automatically Handling Selections in COMSOL Multiphysics®
This is Part 3 of a blog series on how to handle selections and entity numbers when using LiveLink™ for MATLAB® and the COMSOL® Application Programming Interface (API). In this section, I’ll discuss how the internal handling of selections and entity numbers in COMSOL Multiphysics® simulation software is performed and how you can utilize these methods when setting up your own models.
How to Manually Work with Entity Numbers in Selections
In Part 1 of this blog series, I introduced how you can export a model M-file from COMSOL Multiphysics® simulation software to learn about the structure of the COMSOL Application Programming Interface (API). One important part of a model M-file is the selections that are made in order to set up properties for the domain, boundaries, etc. These selections are identified using numbers. Here, we explain how you can automate the handling of the entity numbers using LiveLink™ for MATLAB®.
Best Practice for Working with Model M-Files
When developing models in COMSOL Multiphysics® software, it is common to come across tasks that have to be carried out repeatedly. This three-part blog series will show you how repetitive tasks can be efficiently achieved using model M-files and LiveLink™ for MATLAB®.
Using MATLAB® Functions in Your COMSOL Multiphysics® Models
Did you know that you can use MATLAB® functions in your COMSOL Multiphysics® models? Well, you can, and in this video tutorial we will show you how, using LiveLink™ for MATLAB®.
Solutions as Starting Point Values with LiveLink™ for MATLAB®
There are several techniques out there for saving memory when solving a model. One involves splitting it into separate sections and solving these individually, instead of the entire model at once. If you want to map data from one COMSOL Multiphysics® solution to the next using MATLAB® scripting, you can do so by connecting the two software programs via LiveLink™ for MATLAB®.
Combining COMSOL Multiphysics® and MATLAB®
Did you know that you can combine the strengths of COMSOL Multiphysics® and MATLAB® in real time to solve engineering simulations? To me, that sounds like getting the best of both worlds. Let me explain.
- COMSOL Now
- Today in Science