You can even call COMSOL Multiphysics ® from user interfaces that have been created using MATLAB ®. The COMSOL ® API is easy to learn and has an intuitive structure similar to the steps you use when setting up models in the COMSOL Multiphysics ® user interface using the Model Builder.Įxisting code that is based on MATLAB ® toolboxes or your own code integrates easily with COMSOL Multiphysics ® simulations. Using the automatic code generation tools provides a quick way to learn the COMSOL ® API for MATLAB ®, which is included in LiveLink™ for MATLAB ®. This provides a quick and convenient way of automatically generating COMSOL ® modeling code, which can be used as a starting point for further integration into your MATLAB ® programs. This M-file then contains COMSOL ® API calls, in MATLAB ® syntax, for running COMSOL Multiphysics ® functionality. You can save a model that has been set up in the COMSOL Multiphysics ® user interface to an M-file. Integrate with Your Existing MATLAB ® Programsįor MATLAB ® users, COMSOL Multiphysics ® simulations can easily be integrated into existing code bases. You may prefer to perform some tasks using the command line and scripting, while other tasks may be more convenient to perform using the COMSOL Multiphysics ® user interface. This way, you can use the workflow that is best suited for the task at hand. Several filters and search settings are provided to narrow your search.įurthermore, you can access a model from MATLAB ® and the COMSOL Desktop ® simultaneously. The Model Search tool will search the COMSOL Multiphysics ® model from the MATLAB ® interface, helping you to find expressions and variables used in a model. Using this tool, you can easily extract commands for setting and finding model properties to use in your own scripts. The Model Navigator provides an overview of the model structure in a model tree together with the model settings and the commands that can be executed for each part of the model. To help you get acquainted with the model data structure and the model settings, LiveLink™ for MATLAB ® comes with two utility tools for navigating and searching the model contents: the Model Navigator and Model Search tools. Utility Tools for Managing Models from MATLAB ®Īll COMSOL ® model settings are available from the command line in MATLAB ®.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |