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.
Extracting State Space Matrices from
Posted 22 dic 2013, 12:31 GMT-5 Version 4.3a, Version 4.3b 1 Reply
Please login with a confirmed email address before reporting spam
I was using batteries and fuel cells module for my thesis project. I want to extract the state matrices.
For that I entered the following command to matlab CLI and i am getting the error below .I couldn't figure out the problem. I appriciate your help please. I am using comsol 4.3b with matlab livelink.
model = mphload('solid_state_li_battery.mph');
>> pdom1 = model.probe.create('pdom1', 'DomainPoint');
>> pdom1.model('mod1');
>> pdom1.setIndex('coords2','1.5e-6',0,0);
>> str = mphstate(model,'sol1','out',{'MA','MB','C','D'},'output','mod1.ppb1');
Error using mphstate (line 155)
Java exception occurred:
Exception:
com.comsol.nativejni.FlNativeException: Failed to evaluate expression
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem
The following feature has encountered a problem
Failed to evaluate variable
- Variable: timestep
- Geometry: 1
- Domain: 1
Failed to evaluate expression
- Expression:
Attachments:
Hello Mohammed Shemsu Nesro
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.