Quantcast
Channel: LiveLink for MATLAB - Latest Discussions - COMSOL Forums
Browsing all 99 articles
Browse latest View live
↧

Exporting Probe Data in Matlab

Hello, I'm new to COMSOL and I'm wondering how I go about exporting the probe data within matlab. I have created a time dependent, acoustic-structure interaction model with a few probes located in...

View Article


stiffness matrix

hello, maybe thats a stupid question. How can I see the stiffness matrix my solver is working with. I know the matrix has a high dimension so I can't really look at it. But is it possible to see some...

View Article


Is there an easy way to create a high number of geometric components with a...

Hi all, I am using COMSOL 4.3 to simulate a 2D photonic crystal waveguide made of air holes in a dielectric (using the emw study of the RF module), and I wish to look at how roughness around the holes...

View Article

extracting data from comsol to matlab through mphinterp

Hello, I have implemented the mphinterp function but when I want to extract results for different parameters something goes wrong. My typical comsolfiles look something like this: - In the Study...

View Article

Time consuming post processing

Hi, I'm modelling light interaction with nanoparticle in RF module in frequency domain. I've solved model and exported it to Matlab. Then I was going to do some post processing, like electric field...

View Article


Slow matlab livelink with comsol 4.3a

Hi everyone I have a Comsol 4.3a model which takes about 4½ minutes to run. I would like to run it through MatLab to do sweeps over several parameters and only save a few results from each run. However...

View Article

LiveLink for MATLAB Y Axis Label Mirroring Problem in Mac OS X

When plotting a figure with the LiveLink for MATLAB, the Y label appears as a mirror image. I am running COMSOL 4.3a (4.3.1.161) with 64-bit Matlab R2012b (8.0.0.783) in Mac OS X Version 10.8.3. The...

View Article

MATLAB livelink solution miss-match

Dear Sir/Madam, I am handling structure mechanics problem. I want to extract Mass, Damping and Stiffness matrices. I have started with stationary (static) problem (for simplicity). My problem is...

View Article


Error in geometry buildup when running a comsol model as an m-file within a...

Hello all, I've been working on this for a little whiles and I was wondering if anyone could perhaps shed some light on my issue for me. I have a model which I run on COMSOL with no issue. Yet I wish...

View Article


"Java exception" problem during multiple iterations in Livelink for MATLAB

Hi everyone, this forum is great and it helped a lot to grow in COMSOL world. Anyway, now i am trying to calculate/simulate a phase growth process considering the mass transfer through the interfaces,...

View Article

Trouble with Matlab functions

Hello I'm working with the LiveLink to Matlab and Comsol 4.4. Now it seems that either there are some restrictions in this LiveLink or I'm missing something. First I defined global variables in Matlab,...

View Article

Value type of the control variable in the Optimization interface through...

Dear all, I'm working with the optimization interface through LiveLink for Matlab. I would like to know how to specify the value type of the control variable. The dependent variables in my problem are...

View Article

mphplot: multiple legends

At the mphplot voice of the online documentation: Only one color range bar and one legend bar is supported in a MATLAB figure. When the option plot on server is active, all active color range bar are...

View Article


How to determine domain number from a given block name.

Hi I'm currently working with a project where I have to prepare a model to be illuminated in the RF module by microwawes and ultimately being able to determine the location of tumors in human tissue....

View Article

MATLAB LiveLink: Combine different contours

Hi, I was wondering what the best way is to create a geometry that combines contours. For example, I have a geometry that is made up of various domains. When I use the commands figure(1); [c,h] =...

View Article


Exporting a geometry file (parasolid_binary) using MATLAB Livelink

Hello, I would like to export a geometry from COMSOL in parasolid_binary using MATLAB live link ? You can easily do this from COMSOL desktop, however, I could not do it using the Live link. Please,...

View Article

How can I use matlab console and comsol desktop at the same time?

When I run `comsol server matlab`, there is only a matlab console popped out. If I want to see what my matlab scripts done, I have to use mphplot to plot them. It takes time to write the mphplot...

View Article


mphgeom in matlab uipanel

Hi, I'm building a little user interface with Matlab 14, using the LiveLink for COMSOL v.5. The interface is composed of different panels and I would like to plot the COMSOL model geometry on an axis...

View Article

Adding MATLAB Livelink to COMSOL

Hey all! I am trying to link MATLAB with COMSOL 4.4, Is there anyone who knows how to activate Livelink for MATLAB in it? It seems that while installing COMSOL I did not give the path of the MATLAB...

View Article

Degree of freedom from extracted state space model

Hi all I came to this problem. I have a simple joule heating model: an electrode sticking into a domain and flew through a current through the domain so that the mass was heated up by conductive...

View Article
Browsing all 99 articles
Browse latest View live