Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
COMSOL with Matlab syntaxis (plotting and extraction datas while optimization solving)
Posted Dec 19, 2012, 1:45 p.m. EST Low-Frequency Electromagnetics, Interfacing, Results & Visualization, Studies & Solvers Version 4.3a, Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
I'm trying to make belows these days.
First, I've opened a 'Topology Optimization of a Loaded Knee Structure' from the model library that is aleady exist. And I clicked 'reset history' then saved as model M-file to extraction. I turn off the COMSOL and run COMSOL with Matlab for using the M-file what I extracted.
Now I can do some implement on COMSOL with Matlab except COMSOL Multiphysics. But I couldn't use so many commanders freely still. Of course nowdays I'm studying through pdf files which are 'COMSOL Java API Reference Guide' and 'Live Link For MATLAB Users Guide', etc.
my questions:
<1> How do I plot while solving on COMSOL with Matlab?
--> I can only do optimal plotting (just single picture) when entire loops or iterations end. (by using the 'mphplot' syntax)
--> I saw some syntaxis 'PlotWhileSolving' or just 'Plot' which are marked on pdf files, but it hadn't possible.
--> I want to plot while solving on not COMSOL Multiphysic but COMSOL with Matlab, I mean using the Matlab 'figure' or 'window'.
<2> I want to extract datas that are objective function, design variables and sensitivity vlause... something that... each iteration on COMSOL with Matlab. could you teach me a class or structure syntax?
I'll wait good news. (I attached all files)
Best Regards.
Hello Kee Seung Oh
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.