?? enzyme1.m
字號:
add_block('built-in/Inport',[sys,'/','Phi/in_2'])
set_param([sys,'/','Phi/in_2'],...
'Port','2',...
'position',[75,30,95,50])
add_line([sys,'/','Phi'],[490,155;505,155;505,125;530,125])
add_line([sys,'/','Phi'],[480,75;500,75;500,115;530,115])
add_line([sys,'/','Phi'],[375,115;405,115;405,155;440,155])
add_line([sys,'/','Phi'],[300,135;315,135;315,115;345,115])
add_line([sys,'/','Phi'],[315,135;330,85;440,85])
add_line([sys,'/','Phi'],[175,90;205,90;205,80;250,80])
add_line([sys,'/','Phi'],[205,80;205,50;380,50;380,75;440,75])
add_line([sys,'/','Phi'],[120,40;120,85;145,85])
add_line([sys,'/','Phi'],[120,65;440,65])
add_line([sys,'/','Phi'],[310,185;330,180;330,130;345,125])
add_line([sys,'/','Phi'],[300,80;315,80;315,105;345,105])
add_line([sys,'/','Phi'],[175,145;205,145;205,135;250,135])
add_line([sys,'/','Phi'],[80,115;105,115;105,95;145,95])
add_line([sys,'/','Phi'],[105,105;105,140;145,140])
add_line([sys,'/','Phi'],[570,120;580,120])
add_line([sys,'/','Phi'],[100,40;100,150;145,150])
% Finished composite block 'Phi'.
set_param([sys,'/','Phi'],...
'ForeGround',6,...
'position',[285,372,315,423])
% Subsystem 'INFORMATION'.
new_system([sys,'/','INFORMATION'])
set_param([sys,'/','INFORMATION'],'Location',[10,175,630,580])
add_block('built-in/Note',[sys,'/','INFORMATION/where, A = alpha, G = gamma'])
set_param([sys,'/','INFORMATION/where, A = alpha, G = gamma'],...
'position',[270,310,275,315])
add_block('built-in/Note',[sys,'/',['INFORMATION/Phi = {A*(1+A)*(1+G)^2}//{L + (1+A)^2 + (1+G)^2}',13,'Fn = G^n//(K^n + G^n)']])
set_param([sys,'/',['INFORMATION/Phi = {A*(1+A)*(1+G)^2}//{L + (1+A)^2 + (1+G)^2}',13,'Fn = G^n//(K^n + G^n)']],...
'position',[290,270,295,275])
add_block('built-in/Note',[sys,'/',['INFORMATION/dA//dt = V - Sigma-M*Phi + Sigma-i*Fn',13,'dG//dt = q*Sigma-M*Phi - Sigma-i*Fn - ks*G']])
set_param([sys,'/',['INFORMATION/dA//dt = V - Sigma-M*Phi + Sigma-i*Fn',13,'dG//dt = q*Sigma-M*Phi - Sigma-i*Fn - ks*G']],...
'position',[275,235,280,240])
add_block('built-in/Note',[sys,'/','INFORMATION/Equations of model:'])
set_param([sys,'/','INFORMATION/Equations of model:'],...
'position',[155,210,160,215])
add_block('built-in/Note',[sys,'/',['INFORMATION/This model simulates a product-activated enzyme reaction with',13,'recycling of product into substrate. ']])
set_param([sys,'/',['INFORMATION/This model simulates a product-activated enzyme reaction with',13,'recycling of product into substrate. ']],...
'position',[295,60,300,65])
add_block('built-in/Note',[sys,'/',['INFORMATION/ Many biochemical reactions are of this type.',13,'One prominent reaction is the glycolosis pathway, in which ADP is converted into',13,'ATP. ']])
set_param([sys,'/',['INFORMATION/ Many biochemical reactions are of this type.',13,'One prominent reaction is the glycolosis pathway, in which ADP is converted into',13,'ATP. ']],...
'position',[315,100,320,105])
add_block('built-in/Note',[sys,'/',['INFORMATION/ Athough this pathway has been modeled in much more detail, this two component',13,'model captures its essential behavior. See (Goldbeter and Moran, Eur. Biophys. J.,',13,'15: 277-287, 1988.)']])
set_param([sys,'/',['INFORMATION/ Athough this pathway has been modeled in much more detail, this two component',13,'model captures its essential behavior. See (Goldbeter and Moran, Eur. Biophys. J.,',13,'15: 277-287, 1988.)']],...
'position',[325,145,330,150])
set_param([sys,'/','INFORMATION'],...
'Mask Display','Double-click')
% Finished composite block 'INFORMATION'.
set_param([sys,'/','INFORMATION'],...
'ForeGround',1,...
'BackGround',0,...
'position',[650,300,740,337])
% Subsystem 'INSTRUCTIONS'.
new_system([sys,'/','INSTRUCTIONS'])
set_param([sys,'/','INSTRUCTIONS'],'Location',[35,273,490,578])
add_block('built-in/Note',[sys,'/',['INSTRUCTIONS/The net input, v, and the two outputs, alpha and gamma,',13,'will be sent to the workspace. By default, they are sampled',13,'at 1.0 Hz for 8000 seconds.']])
set_param([sys,'/',['INSTRUCTIONS/The net input, v, and the two outputs, alpha and gamma,',13,'will be sent to the workspace. By default, they are sampled',13,'at 1.0 Hz for 8000 seconds.']],...
'position',[240,200,245,205])
add_block('built-in/Note',[sys,'/',['INSTRUCTIONS/To set the amplitude of the sinusoidal input, double-click',13,'the VA block and set the value.']])
set_param([sys,'/',['INSTRUCTIONS/To set the amplitude of the sinusoidal input, double-click',13,'the VA block and set the value.']],...
'position',[230,160,235,165])
add_block('built-in/Note',[sys,'/','INSTRUCTIONS/Note that the frequency should be specified in radians//sec.'])
set_param([sys,'/','INSTRUCTIONS/Note that the frequency should be specified in radians//sec.'],...
'position',[230,125,235,130])
add_block('built-in/Note',[sys,'/',['INSTRUCTIONS/To set the frequency of the sinusoidal input, double-click',13,'the ''Substrate rate, AC'' block and set the value.']])
set_param([sys,'/',['INSTRUCTIONS/To set the frequency of the sinusoidal input, double-click',13,'the ''Substrate rate, AC'' block and set the value.']],...
'position',[230,90,235,95])
add_block('built-in/Note',[sys,'/',['INSTRUCTIONS/To set the magnitude of the step input, double-click',13,'the V0 block and set the value.']])
set_param([sys,'/',['INSTRUCTIONS/To set the magnitude of the step input, double-click',13,'the V0 block and set the value.']],...
'position',[225,45,230,50])
set_param([sys,'/','INSTRUCTIONS'],...
'Mask Display','Double-click')
% Finished composite block 'INSTRUCTIONS'.
set_param([sys,'/','INSTRUCTIONS'],...
'ForeGround',1,...
'BackGround',3,...
'position',[650,365,740,402])
% Subsystem 'Substrate input'.
new_system([sys,'/','Substrate input'])
set_param([sys,'/','Substrate input'],'Location',[-25,262161,225,262391])
add_block('built-in/Gain',[sys,'/','Substrate input/VA'])
set_param([sys,'/','Substrate input/VA'],...
'BackGround',7,...
'Gain','0.2',...
'Mask Display','0.2',...
'Mask Dialogue','eval(''slideg(0,0.2,2,0)'');',...
'position',[105,156,155,184])
add_block('built-in/Signal Generator',[sys,'/',['Substrate input/Substrate',13,'rate, AC']])
set_param([sys,'/',['Substrate input/Substrate',13,'rate, AC']],...
'BackGround',7,...
'Peak','1.000000',...
'Peak Range','5.000000',...
'Freq','0.025000',...
'Freq Range','1.000000',...
'Wave','Sin',...
'Units','Rads')
set_param([sys,'/',['Substrate input/Substrate',13,'rate, AC']],...
'position',[40,153,85,187])
add_block('built-in/Constant',[sys,'/',['Substrate input/Substrate',13,'rate, DC']])
set_param([sys,'/',['Substrate input/Substrate',13,'rate, DC']],...
'BackGround',7,...
'position',[65,50,85,70])
add_block('built-in/Gain',[sys,'/','Substrate input/V0'])
set_param([sys,'/','Substrate input/V0'],...
'BackGround',7,...
'Gain','0.607',...
'Mask Display','0.607',...
'Mask Dialogue','eval(''slideg(0,0.607,1,0)'');',...
'position',[120,46,170,74])
add_block('built-in/Sum',[sys,'/','Substrate input/v'])
set_param([sys,'/','Substrate input/v'],...
'BackGround',7,...
'position',[185,145,205,165])
add_block('built-in/Outport',[sys,'/','Substrate input/out_1'])
set_param([sys,'/','Substrate input/out_1'],...
'position',[230,145,250,165])
add_line([sys,'/','Substrate input'],[160,170;165,170;165,160;180,160])
add_line([sys,'/','Substrate input'],[90,170;100,170])
add_line([sys,'/','Substrate input'],[175,60;190,60;190,120;160,120;160,150;180,150])
add_line([sys,'/','Substrate input'],[90,60;115,60])
add_line([sys,'/','Substrate input'],[210,155;225,155])
% Finished composite block 'Substrate input'.
set_param([sys,'/','Substrate input'],...
'position',[85,65,115,115])
add_line(sys,[485,145;585,145])
add_line(sys,[490,220;590,220])
add_line(sys,[450,55;305,55;305,115;360,115])
add_line(sys,[390,125;415,125;415,145;455,145])
add_line(sys,[305,115;305,245;360,245])
add_line(sys,[390,235;420,235;420,220;460,220])
add_line(sys,[225,235;360,235])
add_line(sys,[490,220;490,275;155,275;155,235;190,235])
add_line(sys,[550,145;550,110;695,110])
add_line(sys,[545,220;545,255;700,255])
add_line(sys,[120,90;195,90;195,125;360,125])
add_line(sys,[225,125;225,15;590,15])
add_line(sys,[385,335;375,290])
add_line(sys,[485,145;485,185;110,185;110,385;280,385])
add_line(sys,[155,275;155,310;90,310;90,410;280,410])
add_line(sys,[320,400;580,400;580,335;420,335])
add_line(sys,[385,335;320,335;320,135;360,135])
add_line(sys,[340,290;335,290;335,225;360,225])
add_line(sys,[525,220;525,55;500,55])
drawnow
% Return any arguments.
if (nargin | nargout)
% Must use feval here to access system in memory
if (nargin > 3)
if (flag == 0)
eval(['[ret,x0,str,ts,xts]=',sys,'(t,x,u,flag);'])
else
eval(['ret =', sys,'(t,x,u,flag);'])
end
else
[ret,x0,str,ts,xts] = feval(sys);
end
else
drawnow % Flash up the model and execute load callback
end
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -