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.
MATLAB loop variable in COMSOL Special Operators
Posted 18 oct. 2016, 04:45 UTC−4 1 Reply
Please login with a confirmed email address before reporting spam
As shown in Figure (Attachment), ti is a loop variable and tti=ti^2 is assigned in timeint(t1,t2,expr,tol)----COMSOL Special Operators. Where t1 and t2 must be real scalars. However, this operation is wrong. tti=num2str(tii) is also wrong.
The following operation is right. where t1=1.
model.result.numerical('gev1').set('expr', 'timeint(1,t,intop1(K11(x,y)/mug*px+K12(x,y)/mug*py))');
Could you tell me how to solve this problem?
Thaks all
regards
The following operation is right. where t1=1.
model.result.numerical('gev1').set('expr', 'timeint(1,t,intop1(K11(x,y)/mug*px+K12(x,y)/mug*py))');
Could you tell me how to solve this problem?
Thaks all
regards
Attachments:
1 Reply Last Post 28 oct. 2016, 08:42 UTC−4