Enzyme Kinetics Simulation
Enzyme Kinetics Simulation
1
ClickRESETtoclearallinputvaluesLabel matlab.ui.control.Label
Initialvaluesmolm3Panel matlab.ui.container.Panel
EnzymeSubstrateComplexconcentrationESEditField_4
matlab.ui.control.NumericEditField
EnzymeSubstrateComplexconcentrationESEditField_4Label
matlab.ui.control.Label
ProductconcentrationPEditField matlab.ui.control.NumericEditField
ProductconcentrationPLabel_3 matlab.ui.control.Label
EnzymeconcentrationEEditField matlab.ui.control.NumericEditField
EnzymeconcentrationELabel_3 matlab.ui.control.Label
SubstrateconcentrationSEditField matlab.ui.control.NumericEditField
SubstrateconcentrationSLabel_3 matlab.ui.control.Label
TimesPanel matlab.ui.container.Panel
FinaltimeEditField matlab.ui.control.NumericEditField
FinaltimeEditFieldLabel matlab.ui.control.Label
InitialtimeEditField matlab.ui.control.NumericEditField
InitialtimeEditFieldLabel matlab.ui.control.Label
RateconstantsPanel matlab.ui.container.Panel
kcatvalueEditField matlab.ui.control.NumericEditField
kcatvalueEditFieldLabel matlab.ui.control.Label
k1bvalueEditField matlab.ui.control.NumericEditField
k1bvalueEditFieldLabel matlab.ui.control.Label
k1fvalueEditField matlab.ui.control.NumericEditField
k1fvalueEditFieldLabel matlab.ui.control.Label
KeyintherespectivevaluesandthenclickSOLVEtogeneratetheplotLabel
matlab.ui.control.Label
UIAxes matlab.ui.control.UIAxes
SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab
matlab.ui.container.Tab
ClickDEFAULTtogetdefaultinputvaluesLabel_2 matlab.ui.control.Label
TIPSTextArea_2 matlab.ui.control.TextArea
TIPSTextArea_2Label matlab.ui.control.Label
DEFAULTButton_2 matlab.ui.control.Button
Initialvaluesmolm3Panel_5 matlab.ui.container.Panel
InhibitorconcentrationIEditField_4 matlab.ui.control.NumericEditField
InhibitorconcentrationIEditField_4Label matlab.ui.control.Label
EnzymeSubstrateComplexconcentrationESEditField_3
matlab.ui.control.NumericEditField
EnzymeSubstrateComplexconcentrationESEditField_3Label
matlab.ui.control.Label
ProductconcentrationPEditField_5 matlab.ui.control.NumericEditField
ProductconcentrationPEditField_5Label matlab.ui.control.Label
EnzymeconcentrationEEditField_5 matlab.ui.control.NumericEditField
EnzymeconcentrationEEditField_5Label matlab.ui.control.Label
SubstrateconcentrationSEditField_5 matlab.ui.control.NumericEditField
SubstrateconcentrationSEditField_5Label matlab.ui.control.Label
Label_4 matlab.ui.control.Label
k2bLabel_3 matlab.ui.control.Label
k2fLabel_3 matlab.ui.control.Label
EIILabel_3 matlab.ui.control.Label
kcatLabel_4 matlab.ui.control.Label
k1bLabel_4 matlab.ui.control.Label
k1fLabel_4 matlab.ui.control.Label
ESESEPLabel_4 matlab.ui.control.Label
2
SOLVEButton_2 matlab.ui.control.Button
RESETButton_2 matlab.ui.control.Button
HOMEButton_2 matlab.ui.control.Button
SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel
matlab.ui.control.Label
ClickHOMEtogotothemainpageLabel_3 matlab.ui.control.Label
ClickRESETtoclearallinputvaluesLabel_2 matlab.ui.control.Label
TimesPanel_2 matlab.ui.container.Panel
FinaltimeEditField_2 matlab.ui.control.NumericEditField
FinaltimeEditField_2Label matlab.ui.control.Label
InitialtimeEditField_2 matlab.ui.control.NumericEditField
InitialtimeEditField_2Label matlab.ui.control.Label
RateconstantsPanel_2 matlab.ui.container.Panel
kcatvalueEditField_2 matlab.ui.control.NumericEditField
kcatvalueEditField_2Label matlab.ui.control.Label
k2bvalueEditField matlab.ui.control.NumericEditField
k2bvalueEditFieldLabel matlab.ui.control.Label
k2fvalueEditField matlab.ui.control.NumericEditField
k2fvalueEditFieldLabel matlab.ui.control.Label
k1bvalueEditField_2 matlab.ui.control.NumericEditField
k1bvalueEditField_2Label matlab.ui.control.Label
k1fvalueEditField_2 matlab.ui.control.NumericEditField
k1fvalueEditField_2Label matlab.ui.control.Label
Label matlab.ui.control.Label
UIAxes_2 matlab.ui.control.UIAxes
SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab
matlab.ui.container.Tab
ClickDEFAULTtogetdefaultinputvaluesLabel_3 matlab.ui.control.Label
TIPSTextArea_3 matlab.ui.control.TextArea
TIPSTextArea_3Label matlab.ui.control.Label
DEFAULTButton_3 matlab.ui.control.Button
Label_3 matlab.ui.control.Label
k3bLabel matlab.ui.control.Label
k3fLabel matlab.ui.control.Label
EIILabel_2 matlab.ui.control.Label
SOLVEButton_3 matlab.ui.control.Button
RESETButton_3 matlab.ui.control.Button
HOMEButton_3 matlab.ui.control.Button
kcatLabel_3 matlab.ui.control.Label
k1bLabel_3 matlab.ui.control.Label
k1fLabel_3 matlab.ui.control.Label
ESESEPLabel_3 matlab.ui.control.Label
SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel
matlab.ui.control.Label
ClickHOMEtogotothemainpageLabel matlab.ui.control.Label
ClickRESETtoclearallinputvaluesLabel_3 matlab.ui.control.Label
Initialvaluesmolm3Panel_3 matlab.ui.container.Panel
InhibitorconcentrationIEditField_2 matlab.ui.control.NumericEditField
InhibitorconcentrationILabel_2 matlab.ui.control.Label
EnzymeSubstrateComplexconcentrationESEditField_2
matlab.ui.control.NumericEditField
EnzymeSubstrateComplexconcentrationESEditField_2Label
matlab.ui.control.Label
ProductconcentrationPEditField_3 matlab.ui.control.NumericEditField
3
ProductconcentrationPLabel_2 matlab.ui.control.Label
EnzymeconcentrationEEditField_3 matlab.ui.control.NumericEditField
EnzymeconcentrationELabel_2 matlab.ui.control.Label
SubstrateconcentrationSEditField_3 matlab.ui.control.NumericEditField
SubstrateconcentrationSLabel_2 matlab.ui.control.Label
TimesPanel_3 matlab.ui.container.Panel
FinaltimeEditField_3 matlab.ui.control.NumericEditField
FinaltimeEditField_3Label matlab.ui.control.Label
InitialtimeEditField_3 matlab.ui.control.NumericEditField
InitialtimeEditField_3Label matlab.ui.control.Label
RateconstantsPanel_3 matlab.ui.container.Panel
kcatvalueEditField_3 matlab.ui.control.NumericEditField
kcatvalueEditField_3Label matlab.ui.control.Label
k3bvalueEditField matlab.ui.control.NumericEditField
k3bvalueEditFieldLabel matlab.ui.control.Label
k3fvalueEditField matlab.ui.control.NumericEditField
k3fvalueEditFieldLabel matlab.ui.control.Label
k1bvalueEditField_3 matlab.ui.control.NumericEditField
k1bvalueEditField_3Label matlab.ui.control.Label
k1fvalueEditField_3 matlab.ui.control.NumericEditField
k1fvalueEditField_3Label matlab.ui.control.Label
Label_2 matlab.ui.control.Label
UIAxes_3 matlab.ui.control.UIAxes
CompSingleESModelWithoutIandWithCompandUncompITab
matlab.ui.container.Tab
ClickDEFAULTtogetdefaultinputvaluesLabel_4 matlab.ui.control.Label
TIPSTextArea_4 matlab.ui.control.TextArea
TIPSTextArea_4Label matlab.ui.control.Label
DEFAULTButton_4 matlab.ui.control.Button
SOLVEButton_4 matlab.ui.control.Button
RESETButton_4 matlab.ui.control.Button
HOMEButton_4 matlab.ui.control.Button
SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2
matlab.ui.control.Label
ClickHOMEtogotothemainpageLabel_4 matlab.ui.control.Label
ClickRESETtoclearallinputvaluesLabel_4 matlab.ui.control.Label
Initialvaluesmolm3Panel_4 matlab.ui.container.Panel
EnzymeSubstrateInhibitorComplexconcentrationESIEditField
matlab.ui.control.NumericEditField
EnzymeSubstrateInhibitorComplexconcentrationESIEditFieldLabel
matlab.ui.control.Label
InhibitorBoundedEnzymeconcentrationEIEditField
matlab.ui.control.NumericEditField
InhibitorboundedenzymeconcentrationEILabel matlab.ui.control.Label
InhibitorconcentrationIEditField_3 matlab.ui.control.NumericEditField
InhibitorconcentrationILabel matlab.ui.control.Label
EnzymeSubstrateComplexconcentrationESEditField
matlab.ui.control.NumericEditField
EnzymeSubstrateconcentrationESLabel matlab.ui.control.Label
ProductconcentrationPEditField_4 matlab.ui.control.NumericEditField
ProductconcentrationPLabel matlab.ui.control.Label
EnzymeconcentrationEEditField_4 matlab.ui.control.NumericEditField
EnzymeconcentrationELabel matlab.ui.control.Label
SubstrateconcentrationSEditField_4 matlab.ui.control.NumericEditField
4
SubstrateconcentrationSLabel matlab.ui.control.Label
TimesPanel_4 matlab.ui.container.Panel
FinaltimeEditField_4 matlab.ui.control.NumericEditField
FinaltimeEditField_4Label matlab.ui.control.Label
InitialtimeEditField_4 matlab.ui.control.NumericEditField
InitialtimeEditField_4Label matlab.ui.control.Label
RateconstantsPanel_4 matlab.ui.container.Panel
kcatvalueEditField_4 matlab.ui.control.NumericEditField
kcatvalueEditField_6Label matlab.ui.control.Label
k3bvalueEditField_2 matlab.ui.control.NumericEditField
k3bvalueEditField_2Label matlab.ui.control.Label
k3fvalueEditField_2 matlab.ui.control.NumericEditField
k3fvalueEditField_2Label matlab.ui.control.Label
k2bvalueEditField_2 matlab.ui.control.NumericEditField
k2bvalueEditField_2Label matlab.ui.control.Label
k2fvalueEditField_2 matlab.ui.control.NumericEditField
k2fvalueEditField_2Label matlab.ui.control.Label
k1bvalueEditField_4 matlab.ui.control.NumericEditField
k1bvalueEditField_4Label matlab.ui.control.Label
k1fvalueEditField_4 matlab.ui.control.NumericEditField
k1fvalueEditField_4Label matlab.ui.control.Label
Label_5 matlab.ui.control.Label
UIAxes_5 matlab.ui.control.UIAxes
UIAxes_6 matlab.ui.control.UIAxes
UIAxes_4 matlab.ui.control.UIAxes
end
5
% Button pushed function:
% CompSingleESModelWithoutIandWithCompandUncompIButton
function
CompSingleESModelWithoutIandWithCompandUncompIButtonPushed(app, event)
app.TabGroup.SelectedTab =
app.CompSingleESModelWithoutIandWithCompandUncompITab;
end
app.SubstrateconcentrationSEditField.Value=0;
app.EnzymeconcentrationEEditField.Value=0;
app.ProductconcentrationPEditField.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField_4.Value=0;
app.InitialtimeEditField.Value=0;
app.FinaltimeEditField.Value=0;
clo(app.UIAxes)
legend(app.UIAxes,'off')
end
S=app.SubstrateconcentrationSEditField.Value;
E=app.EnzymeconcentrationEEditField.Value;
P=app.ProductconcentrationPEditField.Value;
ES=app.EnzymeSubstrateComplexconcentrationESEditField_4.Value;
E0=E;
ti=app.InitialtimeEditField.Value;
tf=app.FinaltimeEditField.Value;
6
function HOMEButton_2ButtonPushed(app, event)
app.TabGroup.SelectedTab=app.HOMETab;
end
app.SubstrateconcentrationSEditField_5.Value=0;
app.EnzymeconcentrationEEditField_5.Value=0;
app.ProductconcentrationPEditField_5.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField_3.Value=0;
app.InhibitorconcentrationIEditField_4.Value=0;
app.InitialtimeEditField_2.Value=0;
app.FinaltimeEditField_2.Value=0;
clo(app.UIAxes_2)
legend(app.UIAxes_2,'off')
end
S=app.SubstrateconcentrationSEditField_5.Value;
E=app.EnzymeconcentrationEEditField_5.Value;
P=app.ProductconcentrationPEditField_5.Value;
ES=app.EnzymeSubstrateComplexconcentrationESEditField_3.Value;
I=app.InhibitorconcentrationIEditField_4.Value;
E0=E;
EI=E-ES-E0;
ti=app.InitialtimeEditField_2.Value;
tf=app.FinaltimeEditField_2.Value;
7
end
app.SubstrateconcentrationSEditField_3.Value=0;
app.EnzymeconcentrationEEditField_3.Value=0;
app.ProductconcentrationPEditField_3.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField_2.Value=0;
app.InhibitorconcentrationIEditField_2.Value=0;
app.InitialtimeEditField_3.Value=0;
app.FinaltimeEditField_3.Value=0;
clo(app.UIAxes_3)
legend(app.UIAxes_3,'off')
end
S=app.SubstrateconcentrationSEditField_3.Value;
E=app.EnzymeconcentrationEEditField_3.Value;
P=app.ProductconcentrationPEditField_3.Value;
ES=app.EnzymeSubstrateComplexconcentrationESEditField_2.Value;
I=app.InhibitorconcentrationIEditField_2.Value;
E0=E;
ESI=E-ES-E0;
ti=app.InitialtimeEditField_3.Value;
tf=app.FinaltimeEditField_3.Value;
8
% Button pushed function: RESETButton_4
function RESETButton_4ButtonPushed(app, event)
app.k1fvalueEditField_4.Value=0;
app.k1bvalueEditField_4.Value=0;
app.k2fvalueEditField_2.Value=0;
app.k2bvalueEditField_2.Value=0;
app.k3fvalueEditField_2.Value=0;
app.k3bvalueEditField_2.Value=0;
app.kcatvalueEditField_4.Value=0;
app.SubstrateconcentrationSEditField_4.Value=0;
app.EnzymeconcentrationEEditField_4.Value=0;
app.ProductconcentrationPEditField_4.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField.Value=0;
app.InhibitorconcentrationIEditField_3.Value=0;
app.InhibitorBoundedEnzymeconcentrationEIEditField.Value=0;
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditField.Value=0;
app.InitialtimeEditField_4.Value=0;
app.FinaltimeEditField_4.Value=0;
clo(app.UIAxes_4)
legend(app.UIAxes_4,'off')
clo(app.UIAxes_5)
legend(app.UIAxes_5,'off')
clo(app.UIAxes_6)
legend(app.UIAxes_6,'off')
end
S=app.SubstrateconcentrationSEditField_4.Value;
E=app.EnzymeconcentrationEEditField_4.Value;
P=app.ProductconcentrationPEditField_4.Value;
ES=app.EnzymeSubstrateComplexconcentrationESEditField.Value;
I=app.InhibitorconcentrationIEditField_3.Value;
EI=app.InhibitorBoundedEnzymeconcentrationEIEditField.Value;
ESI=app.EnzymeSubstrateInhibitorComplexconcentrationESIEditField.Value;
E0=E;
ti=app.InitialtimeEditField_4.Value;
tf=app.FinaltimeEditField_4.Value;
9
%Solving for enzyme kinetics without inhibition
[T,C] = ode78(@enzyme_0,[ti tf],[S P E0 ES]);
plot(app.UIAxes_4,T,C)
legend(app.UIAxes_4,'Substrate','Product','Total
Enzyme','Enzyme-Substrate');
app.SubstrateconcentrationSEditField.Value=1;
app.EnzymeconcentrationEEditField.Value=1;
app.ProductconcentrationPEditField.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField_4.Value=0;
app.InitialtimeEditField.Value=0;
app.FinaltimeEditField.Value=5;
end
app.SubstrateconcentrationSEditField_5.Value=1;
app.EnzymeconcentrationEEditField_5.Value=1;
app.ProductconcentrationPEditField_5.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField_3.Value=0;
app.InhibitorconcentrationIEditField_4.Value=0.5;
app.InitialtimeEditField_2.Value=0;
app.FinaltimeEditField_2.Value=5;
end
10
function DEFAULTButton_3Pushed(app, event)
app.k1fvalueEditField_3.Value=2;
app.k1bvalueEditField_3.Value=1;
app.k3fvalueEditField.Value=2;
app.k3bvalueEditField.Value=1;
app.kcatvalueEditField_3.Value=2;
app.SubstrateconcentrationSEditField_3.Value=1;
app.EnzymeconcentrationEEditField_3.Value=1;
app.ProductconcentrationPEditField_3.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField_2.Value=0;
app.InhibitorconcentrationIEditField_2.Value=0.5;
app.InitialtimeEditField_3.Value=0;
app.FinaltimeEditField_3.Value=5;
end
app.SubstrateconcentrationSEditField_4.Value=1;
app.EnzymeconcentrationEEditField_4.Value=1;
app.ProductconcentrationPEditField_4.Value=0;
app.EnzymeSubstrateComplexconcentrationESEditField.Value=0;
app.InhibitorconcentrationIEditField_3.Value=0.5;
app.InhibitorBoundedEnzymeconcentrationEIEditField.Value=0;
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditField.Value=0;
app.InitialtimeEditField_4.Value=0;
app.FinaltimeEditField_4.Value=5;
end
end
% Component initialization
methods (Access = private)
% Create TabGroup
app.TabGroup = uitabgroup(app.UIFigure);
11
app.TabGroup.Position = [1 1 838 584];
% Create HOMETab
app.HOMETab = uitab(app.TabGroup);
app.HOMETab.Title = 'HOME';
app.HOMETab.BackgroundColor = [0.9882 1 0.749];
% Create SingleEnzymeSubstrateModelWithoutInhibitorsButton
app.SingleEnzymeSubstrateModelWithoutInhibitorsButton =
uibutton(app.HOMETab, 'push');
app.SingleEnzymeSubstrateModelWithoutInhibitorsButton.ButtonPushedFcn =
createCallbackFcn(app,
@SingleEnzymeSubstrateModelWithoutInhibitorsButtonPushed, true);
app.SingleEnzymeSubstrateModelWithoutInhibitorsButton.Position =
[276 393 286 22];
app.SingleEnzymeSubstrateModelWithoutInhibitorsButton.Text
= 'Single Enzyme-Substrate Model Without Inhibitors';
% Create SingleEnzymeSubstrateModelWithCompetitiveInhibitorsButton
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsButton =
uibutton(app.HOMETab, 'push');
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsButton.ButtonPushedFcn
= createCallbackFcn(app,
@SingleEnzymeSubstrateModelWithCompetitiveInhibitorsButtonPushed, true);
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsButton.Position = [250
329 338 22];
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsButton.Text
= 'Single Enzyme-Substrate Model With Competitive Inhibitors';
% Create
SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsButton
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsButton =
uibutton(app.HOMETab, 'push');
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsButton.ButtonPushedFcn
= createCallbackFcn(app,
@EnzymeSubstrateModelWithUncompetitiveInhibitorsButtonPushed, true);
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsButton.Position =
[243 258 351 22];
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsButton.Text
= 'Single Enzyme-Substrate Model With Uncompetitive Inhibitors';
% Create EnzymeKineticsPlotGeneratorLabel
app.EnzymeKineticsPlotGeneratorLabel = uilabel(app.HOMETab);
app.EnzymeKineticsPlotGeneratorLabel.FontName = 'Times New Roman';
app.EnzymeKineticsPlotGeneratorLabel.FontSize = 20;
app.EnzymeKineticsPlotGeneratorLabel.FontWeight = 'bold';
app.EnzymeKineticsPlotGeneratorLabel.FontColor = [0.9686 0.4902
0];
12
app.EnzymeKineticsPlotGeneratorLabel.Position = [39 476 286 24];
app.EnzymeKineticsPlotGeneratorLabel.Text = {'Enzyme Kinetics Plot
Generator'; ''};
% Create GROUP6Label
app.GROUP6Label = uilabel(app.HOMETab);
app.GROUP6Label.FontName = 'Times New Roman';
app.GROUP6Label.FontSize = 16;
app.GROUP6Label.FontWeight = 'bold';
app.GROUP6Label.FontColor = [0.9686 0.4902 0];
app.GROUP6Label.Position = [39 499 75 22];
app.GROUP6Label.Text = 'GROUP 6';
% Create CompSingleESModelWithoutIandWithCompandUncompIButton
app.CompSingleESModelWithoutIandWithCompandUncompIButton =
uibutton(app.HOMETab, 'push');
app.CompSingleESModelWithoutIandWithCompandUncompIButton.ButtonPushedFcn =
createCallbackFcn(app,
@CompSingleESModelWithoutIandWithCompandUncompIButtonPushed, true);
app.CompSingleESModelWithoutIandWithCompandUncompIButton.Position
= [103 189 631 22];
app.CompSingleESModelWithoutIandWithCompandUncompIButton.Text
= 'Comparing Single Enzyme-Substrate Model Without Inhibitors and With
Competitive and Uncompetitive Inhibitors';
% Create PleaseselectamodeltobedisplayedLabel
app.PleaseselectamodeltobedisplayedLabel = uilabel(app.HOMETab);
app.PleaseselectamodeltobedisplayedLabel.WordWrap = 'on';
app.PleaseselectamodeltobedisplayedLabel.FontName = 'Times New
Roman';
app.PleaseselectamodeltobedisplayedLabel.FontSize = 16;
app.PleaseselectamodeltobedisplayedLabel.FontWeight = 'bold';
app.PleaseselectamodeltobedisplayedLabel.Position = [39 445 260
22];
app.PleaseselectamodeltobedisplayedLabel.Text = 'Please select a
model to be displayed.';
% Create SingleEnzymeSubstrateModelWithoutInhibitorsTab
app.SingleEnzymeSubstrateModelWithoutInhibitorsTab =
uitab(app.TabGroup);
app.SingleEnzymeSubstrateModelWithoutInhibitorsTab.Title = 'Single
Enzyme-Substrate Model Without Inhibitors';
app.SingleEnzymeSubstrateModelWithoutInhibitorsTab.BackgroundColor
= [0.7294 0.749 1];
% Create UIAxes
app.UIAxes =
uiaxes(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
title(app.UIAxes, 'Concentration vs. Time')
xlabel(app.UIAxes, 'Time (s)')
ylabel(app.UIAxes, 'Concentration (mol/m3)')
zlabel(app.UIAxes, 'Z')
app.UIAxes.XGrid = 'on';
13
app.UIAxes.XMinorGrid = 'on';
app.UIAxes.YGrid = 'on';
app.UIAxes.YMinorGrid = 'on';
app.UIAxes.Position = [484 31 331 344];
% Create
KeyintherespectivevaluesandthenclickSOLVEtogeneratetheplotLabel
app.KeyintherespectivevaluesandthenclickSOLVEtogeneratetheplotLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.KeyintherespectivevaluesandthenclickSOLVEtogeneratetheplotLabel.Position
= [36 399 396 22];
app.KeyintherespectivevaluesandthenclickSOLVEtogeneratetheplotLabel.Text
= 'Key in the respective values and then click ''SOLVE'' to generate the
plot.';
% Create RateconstantsPanel
app.RateconstantsPanel =
uipanel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.RateconstantsPanel.TitlePosition = 'centertop';
app.RateconstantsPanel.Title = 'Rate constants';
app.RateconstantsPanel.BackgroundColor = [0.5608 0.5608 0.9804];
app.RateconstantsPanel.FontWeight = 'bold';
app.RateconstantsPanel.FontSize = 14;
app.RateconstantsPanel.Position = [31 55 198 132];
% Create k1fvalueEditFieldLabel
app.k1fvalueEditFieldLabel = uilabel(app.RateconstantsPanel);
app.k1fvalueEditFieldLabel.HorizontalAlignment = 'right';
app.k1fvalueEditFieldLabel.Position = [18 79 54 22];
app.k1fvalueEditFieldLabel.Text = 'k1f value';
% Create k1fvalueEditField
app.k1fvalueEditField =
uieditfield(app.RateconstantsPanel, 'numeric');
app.k1fvalueEditField.Position = [87 79 100 22];
% Create k1bvalueEditFieldLabel
app.k1bvalueEditFieldLabel = uilabel(app.RateconstantsPanel);
app.k1bvalueEditFieldLabel.HorizontalAlignment = 'right';
app.k1bvalueEditFieldLabel.Position = [15 58 57 22];
app.k1bvalueEditFieldLabel.Text = 'k1b value';
% Create k1bvalueEditField
app.k1bvalueEditField =
uieditfield(app.RateconstantsPanel, 'numeric');
app.k1bvalueEditField.Position = [87 58 100 22];
% Create kcatvalueEditFieldLabel
app.kcatvalueEditFieldLabel = uilabel(app.RateconstantsPanel);
app.kcatvalueEditFieldLabel.HorizontalAlignment = 'right';
app.kcatvalueEditFieldLabel.Position = [13 37 59 22];
14
app.kcatvalueEditFieldLabel.Text = 'kcat value';
% Create kcatvalueEditField
app.kcatvalueEditField =
uieditfield(app.RateconstantsPanel, 'numeric');
app.kcatvalueEditField.Position = [87 37 100 22];
% Create TimesPanel
app.TimesPanel =
uipanel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.TimesPanel.TitlePosition = 'centertop';
app.TimesPanel.Title = 'Time (s)';
app.TimesPanel.BackgroundColor = [0.5608 0.5608 0.9804];
app.TimesPanel.FontWeight = 'bold';
app.TimesPanel.FontSize = 14;
app.TimesPanel.Position = [238 86 178 101];
% Create InitialtimeEditFieldLabel
app.InitialtimeEditFieldLabel = uilabel(app.TimesPanel);
app.InitialtimeEditFieldLabel.HorizontalAlignment = 'right';
app.InitialtimeEditFieldLabel.Position = [1 48 59 22];
app.InitialtimeEditFieldLabel.Text = 'Initial time';
% Create InitialtimeEditField
app.InitialtimeEditField = uieditfield(app.TimesPanel, 'numeric');
app.InitialtimeEditField.Position = [75 48 100 22];
% Create FinaltimeEditFieldLabel
app.FinaltimeEditFieldLabel = uilabel(app.TimesPanel);
app.FinaltimeEditFieldLabel.HorizontalAlignment = 'right';
app.FinaltimeEditFieldLabel.Position = [2 21 58 22];
app.FinaltimeEditFieldLabel.Text = 'Final time';
% Create FinaltimeEditField
app.FinaltimeEditField = uieditfield(app.TimesPanel, 'numeric');
app.FinaltimeEditField.Position = [75 21 100 22];
% Create Initialvaluesmolm3Panel
app.Initialvaluesmolm3Panel =
uipanel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.Initialvaluesmolm3Panel.TitlePosition = 'centertop';
app.Initialvaluesmolm3Panel.Title = 'Initial values (mol/m3)';
app.Initialvaluesmolm3Panel.BackgroundColor = [0.5608 0.5608
0.9804];
app.Initialvaluesmolm3Panel.FontWeight = 'bold';
app.Initialvaluesmolm3Panel.FontSize = 14;
app.Initialvaluesmolm3Panel.Position = [31 194 384 132];
% Create SubstrateconcentrationSLabel_3
app.SubstrateconcentrationSLabel_3 =
uilabel(app.Initialvaluesmolm3Panel);
app.SubstrateconcentrationSLabel_3.HorizontalAlignment = 'right';
app.SubstrateconcentrationSLabel_3.Position = [115 79 150 22];
15
app.SubstrateconcentrationSLabel_3.Text = 'Substrate concentration
[S]';
% Create SubstrateconcentrationSEditField
app.SubstrateconcentrationSEditField =
uieditfield(app.Initialvaluesmolm3Panel, 'numeric');
app.SubstrateconcentrationSEditField.Position = [280 79 100 22];
% Create EnzymeconcentrationELabel_3
app.EnzymeconcentrationELabel_3 =
uilabel(app.Initialvaluesmolm3Panel);
app.EnzymeconcentrationELabel_3.BackgroundColor = [0.5608 0.5608
0.9804];
app.EnzymeconcentrationELabel_3.HorizontalAlignment = 'right';
app.EnzymeconcentrationELabel_3.Position = [123 58 142 22];
app.EnzymeconcentrationELabel_3.Text = 'Enzyme concentration [E]';
% Create EnzymeconcentrationEEditField
app.EnzymeconcentrationEEditField =
uieditfield(app.Initialvaluesmolm3Panel, 'numeric');
app.EnzymeconcentrationEEditField.Position = [280 58 100 22];
% Create ProductconcentrationPLabel_3
app.ProductconcentrationPLabel_3 =
uilabel(app.Initialvaluesmolm3Panel);
app.ProductconcentrationPLabel_3.HorizontalAlignment = 'right';
app.ProductconcentrationPLabel_3.Position = [125 37 140 22];
app.ProductconcentrationPLabel_3.Text = 'Product concentration
[P]';
% Create ProductconcentrationPEditField
app.ProductconcentrationPEditField =
uieditfield(app.Initialvaluesmolm3Panel, 'numeric');
app.ProductconcentrationPEditField.Position = [280 37 100 22];
% Create EnzymeSubstrateComplexconcentrationESEditField_4Label
app.EnzymeSubstrateComplexconcentrationESEditField_4Label =
uilabel(app.Initialvaluesmolm3Panel);
app.EnzymeSubstrateComplexconcentrationESEditField_4Label.HorizontalAlignment
= 'right';
app.EnzymeSubstrateComplexconcentrationESEditField_4Label.Position
= [6 16 259 22];
app.EnzymeSubstrateComplexconcentrationESEditField_4Label.Text
= 'Enzyme-Substrate Complex concentration [ES]';
% Create EnzymeSubstrateComplexconcentrationESEditField_4
app.EnzymeSubstrateComplexconcentrationESEditField_4 =
uieditfield(app.Initialvaluesmolm3Panel, 'numeric');
app.EnzymeSubstrateComplexconcentrationESEditField_4.Position =
[280 16 100 22];
% Create ClickRESETtoclearallinputvaluesLabel
16
app.ClickRESETtoclearallinputvaluesLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.ClickRESETtoclearallinputvaluesLabel.Position = [36 372 209
22];
app.ClickRESETtoclearallinputvaluesLabel.Text = 'Click ''RESET''
to clear all input values.';
% Create ClickHOMEtogotothemainpageLabel_2
app.ClickHOMEtogotothemainpageLabel_2 =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.ClickHOMEtogotothemainpageLabel_2.Position = [36 350 203 22];
app.ClickHOMEtogotothemainpageLabel_2.Text = 'Click ''HOME'' to go
to the main page.';
% Create SingleEnzymeSubstrateModelWithoutInhibitorsLabel
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel.FontName
= 'Times New Roman';
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel.FontSize =
24;
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel.FontWeight
= 'bold';
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel.FontColor =
[0 0 1];
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel.Position =
[155 510 545 30];
app.SingleEnzymeSubstrateModelWithoutInhibitorsLabel.Text
= 'Single Enzyme-Substrate Model Without Inhibitors';
% Create ESESEPLabel
app.ESESEPLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.ESESEPLabel.BackgroundColor = [0.0588 1 1];
app.ESESEPLabel.HorizontalAlignment = 'center';
app.ESESEPLabel.FontName = 'Times New Roman';
app.ESESEPLabel.FontSize = 22;
app.ESESEPLabel.Position = [290 441 258 59];
app.ESESEPLabel.Text = 'E + S <--> ES --> E + P';
% Create k1fLabel
app.k1fLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.k1fLabel.HorizontalAlignment = 'center';
app.k1fLabel.FontName = 'Times New Roman';
app.k1fLabel.Position = [376 478 25 22];
app.k1fLabel.Text = 'k1f';
% Create k1bLabel
app.k1bLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.k1bLabel.HorizontalAlignment = 'center';
app.k1bLabel.FontName = 'Times New Roman';
app.k1bLabel.Position = [376 441 25 22];
17
app.k1bLabel.Text = 'k1b';
% Create kcatLabel
app.kcatLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.kcatLabel.FontName = 'Times New Roman';
app.kcatLabel.Position = [441 478 25 22];
app.kcatLabel.Text = 'kcat';
% Create HOMEButton
app.HOMEButton =
uibutton(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab, 'push');
app.HOMEButton.ButtonPushedFcn = createCallbackFcn(app,
@HomeButtonPushed, true);
app.HOMEButton.Position = [42 26 100 22];
app.HOMEButton.Text = 'HOME';
% Create RESETButton
app.RESETButton =
uibutton(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab, 'push');
app.RESETButton.ButtonPushedFcn = createCallbackFcn(app,
@RESETButtonPushed, true);
app.RESETButton.Position = [173 26 100 22];
app.RESETButton.Text = 'RESET';
% Create SOLVEButton
app.SOLVEButton =
uibutton(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab, 'push');
app.SOLVEButton.ButtonPushedFcn = createCallbackFcn(app,
@SOLVEButtonPushed, true);
app.SOLVEButton.BackgroundColor = [1 0.9804 0.2588];
app.SOLVEButton.Position = [309 26 100 22];
app.SOLVEButton.Text = 'SOLVE';
% Create DEFAULTButton
app.DEFAULTButton =
uibutton(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab, 'push');
app.DEFAULTButton.ButtonPushedFcn = createCallbackFcn(app,
@DEFAULTButtonPushed, true);
app.DEFAULTButton.Position = [309 55 100 22];
app.DEFAULTButton.Text = {'DEFAULT'; ''};
% Create TIPSTextAreaLabel
app.TIPSTextAreaLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.TIPSTextAreaLabel.HorizontalAlignment = 'right';
app.TIPSTextAreaLabel.FontWeight = 'bold';
app.TIPSTextAreaLabel.FontAngle = 'italic';
app.TIPSTextAreaLabel.Position = [690 492 32 22];
app.TIPSTextAreaLabel.Text = {'TIPS'; ''};
% Create TIPSTextArea
app.TIPSTextArea =
uitextarea(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
18
app.TIPSTextArea.Position = [631 399 150 87];
app.TIPSTextArea.Value = {'Please make sure every input is greater
than zero. Note that final time must be greater than initial time.'};
% Create ClickDEFAULTtogetdefaultinputvaluesLabel
app.ClickDEFAULTtogetdefaultinputvaluesLabel =
uilabel(app.SingleEnzymeSubstrateModelWithoutInhibitorsTab);
app.ClickDEFAULTtogetdefaultinputvaluesLabel.Position = [36 325
238 22];
app.ClickDEFAULTtogetdefaultinputvaluesLabel.Text = 'Click
''DEFAULT'' to get default input values.';
% Create SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab =
uitab(app.TabGroup);
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab.Title
= 'Single Enzyme-Substrate Model With Competitive Inhibitors';
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab.BackgroundColor =
[1 0.8196 0.9176];
% Create UIAxes_2
app.UIAxes_2 =
uiaxes(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
title(app.UIAxes_2, 'Concentration vs. Time')
xlabel(app.UIAxes_2, 'Time (s)')
ylabel(app.UIAxes_2, 'Concentration (mol/m3)')
zlabel(app.UIAxes_2, 'Z')
app.UIAxes_2.XGrid = 'on';
app.UIAxes_2.XMinorGrid = 'on';
app.UIAxes_2.YGrid = 'on';
app.UIAxes_2.YMinorGrid = 'on';
app.UIAxes_2.Position = [484 31 331 344];
% Create Label
app.Label =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.Label.Position = [36 399 396 22];
app.Label.Text = 'Key in the respective values and then click
''SOLVE'' to generate the plot.';
% Create RateconstantsPanel_2
app.RateconstantsPanel_2 =
uipanel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.RateconstantsPanel_2.TitlePosition = 'centertop';
app.RateconstantsPanel_2.Title = 'Rate constants';
app.RateconstantsPanel_2.BackgroundColor = [1 0.5804 0.7804];
app.RateconstantsPanel_2.FontWeight = 'bold';
app.RateconstantsPanel_2.FontSize = 14;
app.RateconstantsPanel_2.Position = [18 37 198 144];
% Create k1fvalueEditField_2Label
app.k1fvalueEditField_2Label = uilabel(app.RateconstantsPanel_2);
app.k1fvalueEditField_2Label.HorizontalAlignment = 'right';
19
app.k1fvalueEditField_2Label.Position = [18 91 54 22];
app.k1fvalueEditField_2Label.Text = 'k1f value';
% Create k1fvalueEditField_2
app.k1fvalueEditField_2 =
uieditfield(app.RateconstantsPanel_2, 'numeric');
app.k1fvalueEditField_2.Position = [87 91 100 22];
% Create k1bvalueEditField_2Label
app.k1bvalueEditField_2Label = uilabel(app.RateconstantsPanel_2);
app.k1bvalueEditField_2Label.HorizontalAlignment = 'right';
app.k1bvalueEditField_2Label.Position = [15 70 57 22];
app.k1bvalueEditField_2Label.Text = 'k1b value';
% Create k1bvalueEditField_2
app.k1bvalueEditField_2 =
uieditfield(app.RateconstantsPanel_2, 'numeric');
app.k1bvalueEditField_2.Position = [87 70 100 22];
% Create k2fvalueEditFieldLabel
app.k2fvalueEditFieldLabel = uilabel(app.RateconstantsPanel_2);
app.k2fvalueEditFieldLabel.HorizontalAlignment = 'right';
app.k2fvalueEditFieldLabel.Position = [18 49 54 22];
app.k2fvalueEditFieldLabel.Text = 'k2f value';
% Create k2fvalueEditField
app.k2fvalueEditField =
uieditfield(app.RateconstantsPanel_2, 'numeric');
app.k2fvalueEditField.Position = [87 49 100 22];
% Create k2bvalueEditFieldLabel
app.k2bvalueEditFieldLabel = uilabel(app.RateconstantsPanel_2);
app.k2bvalueEditFieldLabel.HorizontalAlignment = 'right';
app.k2bvalueEditFieldLabel.Position = [15 29 57 22];
app.k2bvalueEditFieldLabel.Text = 'k2b value';
% Create k2bvalueEditField
app.k2bvalueEditField =
uieditfield(app.RateconstantsPanel_2, 'numeric');
app.k2bvalueEditField.Position = [87 29 100 22];
% Create kcatvalueEditField_2Label
app.kcatvalueEditField_2Label = uilabel(app.RateconstantsPanel_2);
app.kcatvalueEditField_2Label.HorizontalAlignment = 'right';
app.kcatvalueEditField_2Label.Position = [13 8 59 22];
app.kcatvalueEditField_2Label.Text = 'kcat value';
% Create kcatvalueEditField_2
app.kcatvalueEditField_2 =
uieditfield(app.RateconstantsPanel_2, 'numeric');
app.kcatvalueEditField_2.Position = [87 8 100 22];
% Create TimesPanel_2
20
app.TimesPanel_2 =
uipanel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.TimesPanel_2.TitlePosition = 'centertop';
app.TimesPanel_2.Title = 'Time (s)';
app.TimesPanel_2.BackgroundColor = [1 0.5804 0.7804];
app.TimesPanel_2.FontWeight = 'bold';
app.TimesPanel_2.FontSize = 14;
app.TimesPanel_2.Position = [223 80 198 101];
% Create InitialtimeEditField_2Label
app.InitialtimeEditField_2Label = uilabel(app.TimesPanel_2);
app.InitialtimeEditField_2Label.HorizontalAlignment = 'right';
app.InitialtimeEditField_2Label.Position = [13 48 59 22];
app.InitialtimeEditField_2Label.Text = 'Initial time';
% Create InitialtimeEditField_2
app.InitialtimeEditField_2 =
uieditfield(app.TimesPanel_2, 'numeric');
app.InitialtimeEditField_2.Position = [87 48 100 22];
% Create FinaltimeEditField_2Label
app.FinaltimeEditField_2Label = uilabel(app.TimesPanel_2);
app.FinaltimeEditField_2Label.HorizontalAlignment = 'right';
app.FinaltimeEditField_2Label.Position = [14 27 58 22];
app.FinaltimeEditField_2Label.Text = 'Final time';
% Create FinaltimeEditField_2
app.FinaltimeEditField_2 =
uieditfield(app.TimesPanel_2, 'numeric');
app.FinaltimeEditField_2.Position = [87 27 100 22];
% Create ClickRESETtoclearallinputvaluesLabel_2
app.ClickRESETtoclearallinputvaluesLabel_2 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.ClickRESETtoclearallinputvaluesLabel_2.Position = [35 378 209
22];
app.ClickRESETtoclearallinputvaluesLabel_2.Text = 'Click ''RESET''
to clear all input values.';
% Create ClickHOMEtogotothemainpageLabel_3
app.ClickHOMEtogotothemainpageLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.ClickHOMEtogotothemainpageLabel_3.Position = [36 357 203 22];
app.ClickHOMEtogotothemainpageLabel_3.Text = 'Click ''HOME'' to go
to the main page.';
% Create SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel.FontName
= 'Times New Roman';
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel.FontSize = 24;
21
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel.FontWeight
= 'bold';
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel.FontColor =
[0.498 0 0.8118];
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel.Position = [96
510 646 30];
app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsLabel.Text
= 'Single Enzyme-Substrate Model With Competitive Inhibitors';
% Create HOMEButton_2
app.HOMEButton_2 =
uibutton(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab, 'push');
app.HOMEButton_2.ButtonPushedFcn = createCallbackFcn(app,
@HOMEButton_2ButtonPushed, true);
app.HOMEButton_2.Position = [42 10 100 22];
app.HOMEButton_2.Text = 'HOME';
% Create RESETButton_2
app.RESETButton_2 =
uibutton(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab, 'push');
app.RESETButton_2.ButtonPushedFcn = createCallbackFcn(app,
@RESETButton_2ButtonPushed, true);
app.RESETButton_2.Position = [173 10 100 22];
app.RESETButton_2.Text = 'RESET';
% Create SOLVEButton_2
app.SOLVEButton_2 =
uibutton(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab, 'push');
app.SOLVEButton_2.ButtonPushedFcn = createCallbackFcn(app,
@SOLVEButton_2ButtonPushed, true);
app.SOLVEButton_2.BackgroundColor = [1 0.9804 0.2588];
app.SOLVEButton_2.Position = [309 10 100 22];
app.SOLVEButton_2.Text = 'SOLVE';
% Create ESESEPLabel_4
app.ESESEPLabel_4 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.ESESEPLabel_4.BackgroundColor = [1 0.549 0.8706];
app.ESESEPLabel_4.HorizontalAlignment = 'right';
app.ESESEPLabel_4.VerticalAlignment = 'top';
app.ESESEPLabel_4.FontName = 'Times New Roman';
app.ESESEPLabel_4.FontSize = 22;
app.ESESEPLabel_4.Position = [272 423 294 85];
app.ESESEPLabel_4.Text = 'E + S <--> ES --> E + P';
% Create k1fLabel_4
app.k1fLabel_4 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.k1fLabel_4.HorizontalAlignment = 'center';
app.k1fLabel_4.FontName = 'Times New Roman';
app.k1fLabel_4.Position = [414 492 25 22];
22
app.k1fLabel_4.Text = 'k1f';
% Create k1bLabel_4
app.k1bLabel_4 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.k1bLabel_4.HorizontalAlignment = 'center';
app.k1bLabel_4.FontName = 'Times New Roman';
app.k1bLabel_4.Position = [414 465 25 22];
app.k1bLabel_4.Text = 'k1b';
% Create kcatLabel_4
app.kcatLabel_4 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.kcatLabel_4.FontName = 'Times New Roman';
app.kcatLabel_4.Position = [483 492 25 22];
app.kcatLabel_4.Text = 'kcat';
% Create EIILabel_3
app.EIILabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.EIILabel_3.FontName = 'Times New Roman';
app.EIILabel_3.FontSize = 20;
app.EIILabel_3.Position = [291 433 82 24];
app.EIILabel_3.Text = 'EI <--> I ';
% Create k2fLabel_3
app.k2fLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.k2fLabel_3.HorizontalAlignment = 'center';
app.k2fLabel_3.FontName = 'Times New Roman';
app.k2fLabel_3.Position = [319 444 25 22];
app.k2fLabel_3.Text = 'k2f';
% Create k2bLabel_3
app.k2bLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.k2bLabel_3.HorizontalAlignment = 'center';
app.k2bLabel_3.FontName = 'Times New Roman';
app.k2bLabel_3.Position = [322 417 25 22];
app.k2bLabel_3.Text = 'k2b';
% Create Label_4
app.Label_4 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.Label_4.HorizontalAlignment = 'center';
app.Label_4.FontName = 'Times New Roman';
app.Label_4.FontSize = 20;
app.Label_4.Position = [346 458 25 24];
app.Label_4.Text = '+';
% Create Initialvaluesmolm3Panel_5
app.Initialvaluesmolm3Panel_5 =
uipanel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.Initialvaluesmolm3Panel_5.TitlePosition = 'centertop';
23
app.Initialvaluesmolm3Panel_5.Title = 'Initial values (mol/m3)';
app.Initialvaluesmolm3Panel_5.BackgroundColor = [1 0.5804 0.7804];
app.Initialvaluesmolm3Panel_5.FontWeight = 'bold';
app.Initialvaluesmolm3Panel_5.FontSize = 14;
app.Initialvaluesmolm3Panel_5.Position = [16 189 405 148];
% Create SubstrateconcentrationSEditField_5Label
app.SubstrateconcentrationSEditField_5Label =
uilabel(app.Initialvaluesmolm3Panel_5);
app.SubstrateconcentrationSEditField_5Label.HorizontalAlignment
= 'right';
app.SubstrateconcentrationSEditField_5Label.Position = [106 95 150
22];
app.SubstrateconcentrationSEditField_5Label.Text = 'Substrate
concentration [S]';
% Create SubstrateconcentrationSEditField_5
app.SubstrateconcentrationSEditField_5 =
uieditfield(app.Initialvaluesmolm3Panel_5, 'numeric');
app.SubstrateconcentrationSEditField_5.Position = [271 95 100 22];
% Create EnzymeconcentrationEEditField_5Label
app.EnzymeconcentrationEEditField_5Label =
uilabel(app.Initialvaluesmolm3Panel_5);
app.EnzymeconcentrationEEditField_5Label.HorizontalAlignment
= 'right';
app.EnzymeconcentrationEEditField_5Label.Position = [114 74 142
22];
app.EnzymeconcentrationEEditField_5Label.Text = 'Enzyme
concentration [E]';
% Create EnzymeconcentrationEEditField_5
app.EnzymeconcentrationEEditField_5 =
uieditfield(app.Initialvaluesmolm3Panel_5, 'numeric');
app.EnzymeconcentrationEEditField_5.Position = [271 74 100 22];
% Create ProductconcentrationPEditField_5Label
app.ProductconcentrationPEditField_5Label =
uilabel(app.Initialvaluesmolm3Panel_5);
app.ProductconcentrationPEditField_5Label.HorizontalAlignment
= 'right';
app.ProductconcentrationPEditField_5Label.Position = [116 53 140
22];
app.ProductconcentrationPEditField_5Label.Text = 'Product
concentration [P]';
% Create ProductconcentrationPEditField_5
app.ProductconcentrationPEditField_5 =
uieditfield(app.Initialvaluesmolm3Panel_5, 'numeric');
app.ProductconcentrationPEditField_5.Position = [271 53 100 22];
% Create EnzymeSubstrateComplexconcentrationESEditField_3Label
app.EnzymeSubstrateComplexconcentrationESEditField_3Label =
uilabel(app.Initialvaluesmolm3Panel_5);
24
app.EnzymeSubstrateComplexconcentrationESEditField_3Label.HorizontalAlignment
= 'right';
app.EnzymeSubstrateComplexconcentrationESEditField_3Label.Position
= [-3 32 259 22];
app.EnzymeSubstrateComplexconcentrationESEditField_3Label.Text
= 'Enzyme-Substrate Complex concentration [ES]';
% Create EnzymeSubstrateComplexconcentrationESEditField_3
app.EnzymeSubstrateComplexconcentrationESEditField_3 =
uieditfield(app.Initialvaluesmolm3Panel_5, 'numeric');
app.EnzymeSubstrateComplexconcentrationESEditField_3.Position =
[271 32 100 22];
% Create InhibitorconcentrationIEditField_4Label
app.InhibitorconcentrationIEditField_4Label =
uilabel(app.Initialvaluesmolm3Panel_5);
app.InhibitorconcentrationIEditField_4Label.HorizontalAlignment
= 'right';
app.InhibitorconcentrationIEditField_4Label.Position = [119 12 137
22];
app.InhibitorconcentrationIEditField_4Label.Text = 'Inhibitor
concentration [I]';
% Create InhibitorconcentrationIEditField_4
app.InhibitorconcentrationIEditField_4 =
uieditfield(app.Initialvaluesmolm3Panel_5, 'numeric');
app.InhibitorconcentrationIEditField_4.Position = [271 12 100 22];
% Create DEFAULTButton_2
app.DEFAULTButton_2 =
uibutton(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab, 'push');
app.DEFAULTButton_2.ButtonPushedFcn = createCallbackFcn(app,
@DEFAULTButton_2Pushed, true);
app.DEFAULTButton_2.Position = [310 45 100 22];
app.DEFAULTButton_2.Text = 'DEFAULT';
% Create TIPSTextArea_2Label
app.TIPSTextArea_2Label =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.TIPSTextArea_2Label.HorizontalAlignment = 'right';
app.TIPSTextArea_2Label.FontWeight = 'bold';
app.TIPSTextArea_2Label.FontAngle = 'italic';
app.TIPSTextArea_2Label.Position = [690 492 32 22];
app.TIPSTextArea_2Label.Text = {'TIPS'; ''};
% Create TIPSTextArea_2
app.TIPSTextArea_2 =
uitextarea(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.TIPSTextArea_2.Position = [631 390 150 96];
app.TIPSTextArea_2.Value = {'Please make sure every input is
greater than zero. Note that final time must be greater than initial time.'};
% Create ClickDEFAULTtogetdefaultinputvaluesLabel_2
25
app.ClickDEFAULTtogetdefaultinputvaluesLabel_2 =
uilabel(app.SingleEnzymeSubstrateModelWithCompetitiveInhibitorsTab);
app.ClickDEFAULTtogetdefaultinputvaluesLabel_2.Position = [36 336
238 22];
app.ClickDEFAULTtogetdefaultinputvaluesLabel_2.Text = 'Click
''DEFAULT'' to get default input values.';
% Create SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab =
uitab(app.TabGroup);
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab.Title
= 'Single Enzyme-Substrate Model With Uncompetitive Inhibitors';
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab.BackgroundColor
= [0.7882 1 0.8902];
% Create UIAxes_3
app.UIAxes_3 =
uiaxes(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
title(app.UIAxes_3, 'Concentration vs. Time')
xlabel(app.UIAxes_3, 'Time (s)')
ylabel(app.UIAxes_3, 'Concentration (mol/m3)')
zlabel(app.UIAxes_3, 'Z')
app.UIAxes_3.XGrid = 'on';
app.UIAxes_3.XMinorGrid = 'on';
app.UIAxes_3.YGrid = 'on';
app.UIAxes_3.YMinorGrid = 'on';
app.UIAxes_3.Position = [484 31 331 344];
% Create Label_2
app.Label_2 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.Label_2.Position = [37 393 396 22];
app.Label_2.Text = 'Key in the respective values and then click
''SOLVE'' to generate the plot.';
% Create RateconstantsPanel_3
app.RateconstantsPanel_3 =
uipanel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.RateconstantsPanel_3.TitlePosition = 'centertop';
app.RateconstantsPanel_3.Title = 'Rate constants';
app.RateconstantsPanel_3.BackgroundColor = [0.5216 1 0.8314];
app.RateconstantsPanel_3.FontWeight = 'bold';
app.RateconstantsPanel_3.FontSize = 14;
app.RateconstantsPanel_3.Position = [18 37 198 144];
% Create k1fvalueEditField_3Label
app.k1fvalueEditField_3Label = uilabel(app.RateconstantsPanel_3);
app.k1fvalueEditField_3Label.HorizontalAlignment = 'right';
app.k1fvalueEditField_3Label.Position = [18 91 54 22];
app.k1fvalueEditField_3Label.Text = 'k1f value';
% Create k1fvalueEditField_3
26
app.k1fvalueEditField_3 =
uieditfield(app.RateconstantsPanel_3, 'numeric');
app.k1fvalueEditField_3.Position = [87 91 100 22];
% Create k1bvalueEditField_3Label
app.k1bvalueEditField_3Label = uilabel(app.RateconstantsPanel_3);
app.k1bvalueEditField_3Label.HorizontalAlignment = 'right';
app.k1bvalueEditField_3Label.Position = [15 70 57 22];
app.k1bvalueEditField_3Label.Text = 'k1b value';
% Create k1bvalueEditField_3
app.k1bvalueEditField_3 =
uieditfield(app.RateconstantsPanel_3, 'numeric');
app.k1bvalueEditField_3.Position = [87 70 100 22];
% Create k3fvalueEditFieldLabel
app.k3fvalueEditFieldLabel = uilabel(app.RateconstantsPanel_3);
app.k3fvalueEditFieldLabel.HorizontalAlignment = 'right';
app.k3fvalueEditFieldLabel.Position = [18 49 54 22];
app.k3fvalueEditFieldLabel.Text = 'k3f value';
% Create k3fvalueEditField
app.k3fvalueEditField =
uieditfield(app.RateconstantsPanel_3, 'numeric');
app.k3fvalueEditField.Position = [87 49 100 22];
% Create k3bvalueEditFieldLabel
app.k3bvalueEditFieldLabel = uilabel(app.RateconstantsPanel_3);
app.k3bvalueEditFieldLabel.HorizontalAlignment = 'right';
app.k3bvalueEditFieldLabel.Position = [15 29 57 22];
app.k3bvalueEditFieldLabel.Text = 'k3b value';
% Create k3bvalueEditField
app.k3bvalueEditField =
uieditfield(app.RateconstantsPanel_3, 'numeric');
app.k3bvalueEditField.Position = [87 29 100 22];
% Create kcatvalueEditField_3Label
app.kcatvalueEditField_3Label = uilabel(app.RateconstantsPanel_3);
app.kcatvalueEditField_3Label.HorizontalAlignment = 'right';
app.kcatvalueEditField_3Label.Position = [13 8 59 22];
app.kcatvalueEditField_3Label.Text = 'kcat value';
% Create kcatvalueEditField_3
app.kcatvalueEditField_3 =
uieditfield(app.RateconstantsPanel_3, 'numeric');
app.kcatvalueEditField_3.Position = [87 8 100 22];
% Create TimesPanel_3
app.TimesPanel_3 =
uipanel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.TimesPanel_3.TitlePosition = 'centertop';
app.TimesPanel_3.Title = 'Time (s)';
app.TimesPanel_3.BackgroundColor = [0.5216 1 0.8314];
27
app.TimesPanel_3.FontWeight = 'bold';
app.TimesPanel_3.FontSize = 14;
app.TimesPanel_3.Position = [223 76 198 89];
% Create InitialtimeEditField_3Label
app.InitialtimeEditField_3Label = uilabel(app.TimesPanel_3);
app.InitialtimeEditField_3Label.HorizontalAlignment = 'right';
app.InitialtimeEditField_3Label.Position = [13 36 59 22];
app.InitialtimeEditField_3Label.Text = 'Initial time';
% Create InitialtimeEditField_3
app.InitialtimeEditField_3 =
uieditfield(app.TimesPanel_3, 'numeric');
app.InitialtimeEditField_3.Position = [87 36 100 22];
% Create FinaltimeEditField_3Label
app.FinaltimeEditField_3Label = uilabel(app.TimesPanel_3);
app.FinaltimeEditField_3Label.HorizontalAlignment = 'right';
app.FinaltimeEditField_3Label.Position = [14 15 58 22];
app.FinaltimeEditField_3Label.Text = 'Final time';
% Create FinaltimeEditField_3
app.FinaltimeEditField_3 =
uieditfield(app.TimesPanel_3, 'numeric');
app.FinaltimeEditField_3.Position = [87 15 100 22];
% Create Initialvaluesmolm3Panel_3
app.Initialvaluesmolm3Panel_3 =
uipanel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.Initialvaluesmolm3Panel_3.TitlePosition = 'centertop';
app.Initialvaluesmolm3Panel_3.Title = 'Initial values (mol/m3)';
app.Initialvaluesmolm3Panel_3.BackgroundColor = [0.5216 1 0.8314];
app.Initialvaluesmolm3Panel_3.FontWeight = 'bold';
app.Initialvaluesmolm3Panel_3.FontSize = 14;
app.Initialvaluesmolm3Panel_3.Position = [18 182 403 148];
% Create SubstrateconcentrationSLabel_2
app.SubstrateconcentrationSLabel_2 =
uilabel(app.Initialvaluesmolm3Panel_3);
app.SubstrateconcentrationSLabel_2.HorizontalAlignment = 'right';
app.SubstrateconcentrationSLabel_2.Position = [106 95 150 22];
app.SubstrateconcentrationSLabel_2.Text = 'Substrate concentration
[S]';
% Create SubstrateconcentrationSEditField_3
app.SubstrateconcentrationSEditField_3 =
uieditfield(app.Initialvaluesmolm3Panel_3, 'numeric');
app.SubstrateconcentrationSEditField_3.Position = [271 95 100 22];
% Create EnzymeconcentrationELabel_2
app.EnzymeconcentrationELabel_2 =
uilabel(app.Initialvaluesmolm3Panel_3);
app.EnzymeconcentrationELabel_2.BackgroundColor = [0.5216 1
0.8314];
28
app.EnzymeconcentrationELabel_2.HorizontalAlignment = 'right';
app.EnzymeconcentrationELabel_2.Position = [114 74 142 22];
app.EnzymeconcentrationELabel_2.Text = 'Enzyme concentration [E]';
% Create EnzymeconcentrationEEditField_3
app.EnzymeconcentrationEEditField_3 =
uieditfield(app.Initialvaluesmolm3Panel_3, 'numeric');
app.EnzymeconcentrationEEditField_3.Position = [271 74 100 22];
% Create ProductconcentrationPLabel_2
app.ProductconcentrationPLabel_2 =
uilabel(app.Initialvaluesmolm3Panel_3);
app.ProductconcentrationPLabel_2.BackgroundColor = [0.5216 1
0.8314];
app.ProductconcentrationPLabel_2.HorizontalAlignment = 'right';
app.ProductconcentrationPLabel_2.Position = [116 53 140 22];
app.ProductconcentrationPLabel_2.Text = 'Product concentration
[P]';
% Create ProductconcentrationPEditField_3
app.ProductconcentrationPEditField_3 =
uieditfield(app.Initialvaluesmolm3Panel_3, 'numeric');
app.ProductconcentrationPEditField_3.Position = [271 53 100 22];
% Create EnzymeSubstrateComplexconcentrationESEditField_2Label
app.EnzymeSubstrateComplexconcentrationESEditField_2Label =
uilabel(app.Initialvaluesmolm3Panel_3);
app.EnzymeSubstrateComplexconcentrationESEditField_2Label.HorizontalAlignment
= 'right';
app.EnzymeSubstrateComplexconcentrationESEditField_2Label.Position
= [-3 32 259 22];
app.EnzymeSubstrateComplexconcentrationESEditField_2Label.Text
= 'Enzyme-Substrate Complex concentration [ES]';
% Create EnzymeSubstrateComplexconcentrationESEditField_2
app.EnzymeSubstrateComplexconcentrationESEditField_2 =
uieditfield(app.Initialvaluesmolm3Panel_3, 'numeric');
app.EnzymeSubstrateComplexconcentrationESEditField_2.Position =
[271 32 100 22];
% Create InhibitorconcentrationILabel_2
app.InhibitorconcentrationILabel_2 =
uilabel(app.Initialvaluesmolm3Panel_3);
app.InhibitorconcentrationILabel_2.HorizontalAlignment = 'right';
app.InhibitorconcentrationILabel_2.Position = [119 12 137 22];
app.InhibitorconcentrationILabel_2.Text = 'Inhibitor concentration
[I]';
% Create InhibitorconcentrationIEditField_2
app.InhibitorconcentrationIEditField_2 =
uieditfield(app.Initialvaluesmolm3Panel_3, 'numeric');
app.InhibitorconcentrationIEditField_2.Position = [271 12 100 22];
29
% Create ClickRESETtoclearallinputvaluesLabel_3
app.ClickRESETtoclearallinputvaluesLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.ClickRESETtoclearallinputvaluesLabel_3.Position = [36 372 209
22];
app.ClickRESETtoclearallinputvaluesLabel_3.Text = 'Click ''RESET''
to clear all input values.';
% Create ClickHOMEtogotothemainpageLabel
app.ClickHOMEtogotothemainpageLabel =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.ClickHOMEtogotothemainpageLabel.Position = [36 350 203 22];
app.ClickHOMEtogotothemainpageLabel.Text = 'Click ''HOME'' to go
to the main page.';
% Create
SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel.FontName
= 'Times New Roman';
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel.FontSize = 24;
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel.FontWeight
= 'bold';
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel.FontColor =
[0.0588 0.6196 0.0196];
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel.Position = [96
510 671 30];
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel.Text = 'Single
Enzyme-Substrate Model With Uncompetitive Inhibitors';
% Create ESESEPLabel_3
app.ESESEPLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.ESESEPLabel_3.BackgroundColor = [0.302 1 0.5922];
app.ESESEPLabel_3.HorizontalAlignment = 'right';
app.ESESEPLabel_3.VerticalAlignment = 'top';
app.ESESEPLabel_3.FontName = 'Times New Roman';
app.ESESEPLabel_3.FontSize = 22;
app.ESESEPLabel_3.Position = [309 420 239 85];
app.ESESEPLabel_3.Text = 'E + S <--> ES --> E + P';
% Create k1fLabel_3
app.k1fLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.k1fLabel_3.HorizontalAlignment = 'center';
app.k1fLabel_3.FontName = 'Times New Roman';
app.k1fLabel_3.Position = [396 489 25 22];
30
app.k1fLabel_3.Text = 'k1f';
% Create k1bLabel_3
app.k1bLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.k1bLabel_3.HorizontalAlignment = 'center';
app.k1bLabel_3.FontName = 'Times New Roman';
app.k1bLabel_3.Position = [396 462 25 22];
app.k1bLabel_3.Text = 'k1b';
% Create kcatLabel_3
app.kcatLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.kcatLabel_3.FontName = 'Times New Roman';
app.kcatLabel_3.Position = [465 489 25 22];
app.kcatLabel_3.Text = 'kcat';
% Create HOMEButton_3
app.HOMEButton_3 =
uibutton(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab, 'push');
app.HOMEButton_3.ButtonPushedFcn = createCallbackFcn(app,
@HOMEButton_3ButtonPushed, true);
app.HOMEButton_3.Position = [42 10 100 22];
app.HOMEButton_3.Text = 'HOME';
% Create RESETButton_3
app.RESETButton_3 =
uibutton(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab, 'push');
app.RESETButton_3.ButtonPushedFcn = createCallbackFcn(app,
@RESETButton_3ButtonPushed, true);
app.RESETButton_3.Position = [173 10 100 22];
app.RESETButton_3.Text = 'RESET';
% Create SOLVEButton_3
app.SOLVEButton_3 =
uibutton(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab, 'push');
app.SOLVEButton_3.ButtonPushedFcn = createCallbackFcn(app,
@SOLVEButton_3ButtonPushed, true);
app.SOLVEButton_3.BackgroundColor = [1 0.9804 0.2588];
app.SOLVEButton_3.Position = [309 10 100 22];
app.SOLVEButton_3.Text = 'SOLVE';
% Create EIILabel_2
app.EIILabel_2 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.EIILabel_2.FontName = 'Times New Roman';
app.EIILabel_2.FontSize = 20;
app.EIILabel_2.Position = [384 430 82 24];
app.EIILabel_2.Text = 'EI <--> I ';
% Create k3fLabel
app.k3fLabel =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.k3fLabel.HorizontalAlignment = 'center';
31
app.k3fLabel.FontName = 'Times New Roman';
app.k3fLabel.Position = [412 441 25 22];
app.k3fLabel.Text = 'k3f';
% Create k3bLabel
app.k3bLabel =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.k3bLabel.HorizontalAlignment = 'center';
app.k3bLabel.FontName = 'Times New Roman';
app.k3bLabel.Position = [415 414 25 22];
app.k3bLabel.Text = 'k3b';
% Create Label_3
app.Label_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.Label_3.HorizontalAlignment = 'center';
app.Label_3.FontName = 'Times New Roman';
app.Label_3.FontSize = 20;
app.Label_3.Position = [439 453 25 24];
app.Label_3.Text = '+';
% Create DEFAULTButton_3
app.DEFAULTButton_3 =
uibutton(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab, 'push');
app.DEFAULTButton_3.ButtonPushedFcn = createCallbackFcn(app,
@DEFAULTButton_3Pushed, true);
app.DEFAULTButton_3.Position = [309 45 100 22];
app.DEFAULTButton_3.Text = 'DEFAULT';
% Create TIPSTextArea_3Label
app.TIPSTextArea_3Label =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.TIPSTextArea_3Label.HorizontalAlignment = 'right';
app.TIPSTextArea_3Label.FontWeight = 'bold';
app.TIPSTextArea_3Label.FontAngle = 'italic';
app.TIPSTextArea_3Label.Position = [690 492 32 22];
app.TIPSTextArea_3Label.Text = {'TIPS'; ''};
% Create TIPSTextArea_3
app.TIPSTextArea_3 =
uitextarea(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.TIPSTextArea_3.Position = [631 390 150 96];
app.TIPSTextArea_3.Value = {'Please make sure every input is
greater than zero. Note that final time must be greater than initial time.'};
% Create ClickDEFAULTtogetdefaultinputvaluesLabel_3
app.ClickDEFAULTtogetdefaultinputvaluesLabel_3 =
uilabel(app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsTab);
app.ClickDEFAULTtogetdefaultinputvaluesLabel_3.Position = [37 329
238 22];
app.ClickDEFAULTtogetdefaultinputvaluesLabel_3.Text = 'Click
''DEFAULT'' to get default input values.';
% Create CompSingleESModelWithoutIandWithCompandUncompITab
32
app.CompSingleESModelWithoutIandWithCompandUncompITab =
uitab(app.TabGroup);
app.CompSingleESModelWithoutIandWithCompandUncompITab.Title
= 'Comparing Single Enzyme-Substrate Model Without Inhibitors & With
Competitive and Uncompetitive Inhibitors';
app.CompSingleESModelWithoutIandWithCompandUncompITab.BackgroundColor = [1
0.9333 0.8392];
% Create UIAxes_4
app.UIAxes_4 =
uiaxes(app.CompSingleESModelWithoutIandWithCompandUncompITab);
title(app.UIAxes_4, 'Concentration vs. Time (Without.I)')
xlabel(app.UIAxes_4, 'Time (s)')
ylabel(app.UIAxes_4, 'Concentration (mol/m3)')
zlabel(app.UIAxes_4, 'Z')
app.UIAxes_4.XGrid = 'on';
app.UIAxes_4.XMinorGrid = 'on';
app.UIAxes_4.YGrid = 'on';
app.UIAxes_4.YMinorGrid = 'on';
app.UIAxes_4.Position = [541 357 217 154];
% Create UIAxes_6
app.UIAxes_6 =
uiaxes(app.CompSingleESModelWithoutIandWithCompandUncompITab);
title(app.UIAxes_6, 'Concentration vs. Time (Uncomp.I)')
xlabel(app.UIAxes_6, 'Time (s)')
ylabel(app.UIAxes_6, 'Concentration (mol/m3)')
zlabel(app.UIAxes_6, 'Z')
app.UIAxes_6.XGrid = 'on';
app.UIAxes_6.XMinorGrid = 'on';
app.UIAxes_6.YGrid = 'on';
app.UIAxes_6.YMinorGrid = 'on';
app.UIAxes_6.Position = [541 12 217 160];
% Create UIAxes_5
app.UIAxes_5 =
uiaxes(app.CompSingleESModelWithoutIandWithCompandUncompITab);
title(app.UIAxes_5, 'Concentration vs. Time (Comp.I)')
xlabel(app.UIAxes_5, 'Time (s)')
ylabel(app.UIAxes_5, 'Concentration (mol/m3)')
zlabel(app.UIAxes_5, 'Z')
app.UIAxes_5.XGrid = 'on';
app.UIAxes_5.XMinorGrid = 'on';
app.UIAxes_5.YGrid = 'on';
app.UIAxes_5.YMinorGrid = 'on';
app.UIAxes_5.Position = [541 184 217 161];
% Create Label_5
app.Label_5 =
uilabel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.Label_5.Position = [33 489 396 22];
app.Label_5.Text = 'Key in the respective values and then click
''SOLVE'' to generate the plot.';
33
% Create RateconstantsPanel_4
app.RateconstantsPanel_4 =
uipanel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.RateconstantsPanel_4.TitlePosition = 'centertop';
app.RateconstantsPanel_4.Title = 'Rate constants';
app.RateconstantsPanel_4.BackgroundColor = [1 0.8039 0.7412];
app.RateconstantsPanel_4.FontWeight = 'bold';
app.RateconstantsPanel_4.FontSize = 14;
app.RateconstantsPanel_4.Position = [18 37 198 178];
% Create k1fvalueEditField_4Label
app.k1fvalueEditField_4Label = uilabel(app.RateconstantsPanel_4);
app.k1fvalueEditField_4Label.HorizontalAlignment = 'right';
app.k1fvalueEditField_4Label.Position = [18 125 54 22];
app.k1fvalueEditField_4Label.Text = 'k1f value';
% Create k1fvalueEditField_4
app.k1fvalueEditField_4 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.k1fvalueEditField_4.Position = [87 125 100 22];
% Create k1bvalueEditField_4Label
app.k1bvalueEditField_4Label = uilabel(app.RateconstantsPanel_4);
app.k1bvalueEditField_4Label.HorizontalAlignment = 'right';
app.k1bvalueEditField_4Label.Position = [15 104 57 22];
app.k1bvalueEditField_4Label.Text = 'k1b value';
% Create k1bvalueEditField_4
app.k1bvalueEditField_4 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.k1bvalueEditField_4.Position = [87 104 100 22];
% Create k2fvalueEditField_2Label
app.k2fvalueEditField_2Label = uilabel(app.RateconstantsPanel_4);
app.k2fvalueEditField_2Label.HorizontalAlignment = 'right';
app.k2fvalueEditField_2Label.Position = [18 83 54 22];
app.k2fvalueEditField_2Label.Text = 'k2f value';
% Create k2fvalueEditField_2
app.k2fvalueEditField_2 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.k2fvalueEditField_2.Position = [87 83 100 22];
% Create k2bvalueEditField_2Label
app.k2bvalueEditField_2Label = uilabel(app.RateconstantsPanel_4);
app.k2bvalueEditField_2Label.HorizontalAlignment = 'right';
app.k2bvalueEditField_2Label.Position = [15 63 57 22];
app.k2bvalueEditField_2Label.Text = 'k2b value';
% Create k2bvalueEditField_2
app.k2bvalueEditField_2 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.k2bvalueEditField_2.Position = [87 62 100 23];
34
% Create k3fvalueEditField_2Label
app.k3fvalueEditField_2Label = uilabel(app.RateconstantsPanel_4);
app.k3fvalueEditField_2Label.HorizontalAlignment = 'right';
app.k3fvalueEditField_2Label.Position = [18 42 54 22];
app.k3fvalueEditField_2Label.Text = 'k3f value';
% Create k3fvalueEditField_2
app.k3fvalueEditField_2 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.k3fvalueEditField_2.Position = [87 41 100 23];
% Create k3bvalueEditField_2Label
app.k3bvalueEditField_2Label = uilabel(app.RateconstantsPanel_4);
app.k3bvalueEditField_2Label.HorizontalAlignment = 'right';
app.k3bvalueEditField_2Label.Position = [15 21 57 22];
app.k3bvalueEditField_2Label.Text = 'k3b value';
% Create k3bvalueEditField_2
app.k3bvalueEditField_2 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.k3bvalueEditField_2.Position = [87 21 100 22];
% Create kcatvalueEditField_6Label
app.kcatvalueEditField_6Label = uilabel(app.RateconstantsPanel_4);
app.kcatvalueEditField_6Label.HorizontalAlignment = 'right';
app.kcatvalueEditField_6Label.Position = [13 0 59 22];
app.kcatvalueEditField_6Label.Text = 'kcat value';
% Create kcatvalueEditField_4
app.kcatvalueEditField_4 =
uieditfield(app.RateconstantsPanel_4, 'numeric');
app.kcatvalueEditField_4.Position = [87 0 100 22];
% Create TimesPanel_4
app.TimesPanel_4 =
uipanel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.TimesPanel_4.TitlePosition = 'centertop';
app.TimesPanel_4.Title = 'Time (s)';
app.TimesPanel_4.BackgroundColor = [1 0.8039 0.7412];
app.TimesPanel_4.FontWeight = 'bold';
app.TimesPanel_4.FontSize = 14;
app.TimesPanel_4.Position = [268 123 198 88];
% Create InitialtimeEditField_4Label
app.InitialtimeEditField_4Label = uilabel(app.TimesPanel_4);
app.InitialtimeEditField_4Label.HorizontalAlignment = 'right';
app.InitialtimeEditField_4Label.Position = [13 35 59 22];
app.InitialtimeEditField_4Label.Text = 'Initial time';
% Create InitialtimeEditField_4
app.InitialtimeEditField_4 =
uieditfield(app.TimesPanel_4, 'numeric');
app.InitialtimeEditField_4.Position = [87 35 100 22];
35
% Create FinaltimeEditField_4Label
app.FinaltimeEditField_4Label = uilabel(app.TimesPanel_4);
app.FinaltimeEditField_4Label.HorizontalAlignment = 'right';
app.FinaltimeEditField_4Label.Position = [14 9 58 22];
app.FinaltimeEditField_4Label.Text = 'Final time';
% Create FinaltimeEditField_4
app.FinaltimeEditField_4 =
uieditfield(app.TimesPanel_4, 'numeric');
app.FinaltimeEditField_4.Position = [87 9 100 22];
% Create Initialvaluesmolm3Panel_4
app.Initialvaluesmolm3Panel_4 =
uipanel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.Initialvaluesmolm3Panel_4.TitlePosition = 'centertop';
app.Initialvaluesmolm3Panel_4.Title = 'Initial values (mol/m3)';
app.Initialvaluesmolm3Panel_4.BackgroundColor = [1 0.8039 0.7412];
app.Initialvaluesmolm3Panel_4.FontWeight = 'bold';
app.Initialvaluesmolm3Panel_4.FontSize = 14;
app.Initialvaluesmolm3Panel_4.Position = [18 222 448 196];
% Create SubstrateconcentrationSLabel
app.SubstrateconcentrationSLabel =
uilabel(app.Initialvaluesmolm3Panel_4);
app.SubstrateconcentrationSLabel.HorizontalAlignment = 'right';
app.SubstrateconcentrationSLabel.Position = [165 143 150 22];
app.SubstrateconcentrationSLabel.Text = 'Substrate concentration
[S]';
% Create SubstrateconcentrationSEditField_4
app.SubstrateconcentrationSEditField_4 =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.SubstrateconcentrationSEditField_4.Position = [330 143 100
22];
% Create EnzymeconcentrationELabel
app.EnzymeconcentrationELabel =
uilabel(app.Initialvaluesmolm3Panel_4);
app.EnzymeconcentrationELabel.HorizontalAlignment = 'right';
app.EnzymeconcentrationELabel.Position = [173 122 142 22];
app.EnzymeconcentrationELabel.Text = 'Enzyme concentration [E]';
% Create EnzymeconcentrationEEditField_4
app.EnzymeconcentrationEEditField_4 =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.EnzymeconcentrationEEditField_4.Position = [330 122 100 22];
% Create ProductconcentrationPLabel
app.ProductconcentrationPLabel =
uilabel(app.Initialvaluesmolm3Panel_4);
app.ProductconcentrationPLabel.HorizontalAlignment = 'right';
app.ProductconcentrationPLabel.Position = [175 101 140 22];
app.ProductconcentrationPLabel.Text = 'Product concentration [P]';
36
% Create ProductconcentrationPEditField_4
app.ProductconcentrationPEditField_4 =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.ProductconcentrationPEditField_4.Position = [330 101 100 22];
% Create EnzymeSubstrateconcentrationESLabel
app.EnzymeSubstrateconcentrationESLabel =
uilabel(app.Initialvaluesmolm3Panel_4);
app.EnzymeSubstrateconcentrationESLabel.HorizontalAlignment
= 'right';
app.EnzymeSubstrateconcentrationESLabel.Position = [56 80 259 22];
app.EnzymeSubstrateconcentrationESLabel.Text = 'Enzyme-Substrate
Complex concentration [ES]';
% Create EnzymeSubstrateComplexconcentrationESEditField
app.EnzymeSubstrateComplexconcentrationESEditField =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.EnzymeSubstrateComplexconcentrationESEditField.Position = [330
80 100 22];
% Create InhibitorconcentrationILabel
app.InhibitorconcentrationILabel =
uilabel(app.Initialvaluesmolm3Panel_4);
app.InhibitorconcentrationILabel.HorizontalAlignment = 'right';
app.InhibitorconcentrationILabel.Position = [178 60 137 22];
app.InhibitorconcentrationILabel.Text = 'Inhibitor concentration
[I]';
% Create InhibitorconcentrationIEditField_3
app.InhibitorconcentrationIEditField_3 =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.InhibitorconcentrationIEditField_3.Position = [330 60 100 22];
% Create InhibitorboundedenzymeconcentrationEILabel
app.InhibitorboundedenzymeconcentrationEILabel =
uilabel(app.Initialvaluesmolm3Panel_4);
app.InhibitorboundedenzymeconcentrationEILabel.HorizontalAlignment
= 'right';
app.InhibitorboundedenzymeconcentrationEILabel.Position = [70 40
245 22];
app.InhibitorboundedenzymeconcentrationEILabel.Text = 'Inhibitor-
Bounded Enzyme concentration [EI]';
% Create InhibitorBoundedEnzymeconcentrationEIEditField
app.InhibitorBoundedEnzymeconcentrationEIEditField =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.InhibitorBoundedEnzymeconcentrationEIEditField.Position = [330
40 100 22];
% Create
EnzymeSubstrateInhibitorComplexconcentrationESIEditFieldLabel
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditFieldLabel
= uilabel(app.Initialvaluesmolm3Panel_4);
37
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditFieldLabel.HorizontalAlignment
= 'right';
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditFieldLabel.Position =
[4 19 311 22];
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditFieldLabel.Text
= 'Enzyme-Substrate-Inhibitor Complex concentration [ESI]';
% Create EnzymeSubstrateInhibitorComplexconcentrationESIEditField
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditField =
uieditfield(app.Initialvaluesmolm3Panel_4, 'numeric');
app.EnzymeSubstrateInhibitorComplexconcentrationESIEditField.Position = [330
19 100 22];
% Create ClickRESETtoclearallinputvaluesLabel_4
app.ClickRESETtoclearallinputvaluesLabel_4 =
uilabel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.ClickRESETtoclearallinputvaluesLabel_4.Position = [33 462 209
22];
app.ClickRESETtoclearallinputvaluesLabel_4.Text = 'Click ''RESET''
to clear all input values.';
% Create ClickHOMEtogotothemainpageLabel_4
app.ClickHOMEtogotothemainpageLabel_4 =
uilabel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.ClickHOMEtogotothemainpageLabel_4.Position = [33 440 203 22];
app.ClickHOMEtogotothemainpageLabel_4.Text = 'Click ''HOME'' to go
to the main page.';
% Create
SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2 =
uilabel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2.FontName
= 'Times New Roman';
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2.FontSize =
14.7;
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2.FontWeight
= 'bold';
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2.FontColor =
[1 0 0];
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2.Position =
[63 513 829 28];
app.SingleEnzymeSubstrateModelWithUncompetitiveInhibitorsLabel_2.Text
38
= 'Comparing Single Enzyme-Substrate Model Without Inhibitors & With
Competitive and Uncompetitive Inhibitors';
% Create HOMEButton_4
app.HOMEButton_4 =
uibutton(app.CompSingleESModelWithoutIandWithCompandUncompITab, 'push');
app.HOMEButton_4.ButtonPushedFcn = createCallbackFcn(app,
@HOMEButton_4BottonPushed, true);
app.HOMEButton_4.Position = [42 10 100 22];
app.HOMEButton_4.Text = 'HOME';
% Create RESETButton_4
app.RESETButton_4 =
uibutton(app.CompSingleESModelWithoutIandWithCompandUncompITab, 'push');
app.RESETButton_4.ButtonPushedFcn = createCallbackFcn(app,
@RESETButton_4ButtonPushed, true);
app.RESETButton_4.Position = [173 10 100 22];
app.RESETButton_4.Text = 'RESET';
% Create SOLVEButton_4
app.SOLVEButton_4 =
uibutton(app.CompSingleESModelWithoutIandWithCompandUncompITab, 'push');
app.SOLVEButton_4.ButtonPushedFcn = createCallbackFcn(app,
@SOLVEButton_4ButtonPushed, true);
app.SOLVEButton_4.BackgroundColor = [1 0.9804 0.2588];
app.SOLVEButton_4.Position = [436 10 100 22];
app.SOLVEButton_4.Text = 'SOLVE';
% Create DEFAULTButton_4
app.DEFAULTButton_4 =
uibutton(app.CompSingleESModelWithoutIandWithCompandUncompITab, 'push');
app.DEFAULTButton_4.ButtonPushedFcn = createCallbackFcn(app,
@DEFAULTButton_4Pushed, true);
app.DEFAULTButton_4.Position = [309 10 100 22];
app.DEFAULTButton_4.Text = 'DEFAULT';
% Create TIPSTextArea_4Label
app.TIPSTextArea_4Label =
uilabel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.TIPSTextArea_4Label.HorizontalAlignment = 'right';
app.TIPSTextArea_4Label.FontSize = 11;
app.TIPSTextArea_4Label.FontWeight = 'bold';
app.TIPSTextArea_4Label.FontAngle = 'italic';
app.TIPSTextArea_4Label.Position = [333 100 30 22];
app.TIPSTextArea_4Label.Text = {'TIPS'; ''};
% Create TIPSTextArea_4
app.TIPSTextArea_4 =
uitextarea(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.TIPSTextArea_4.FontSize = 11;
app.TIPSTextArea_4.Position = [230 60 236 43];
app.TIPSTextArea_4.Value = {'Please make sure every input is
greater than zero. Note that final time must be greater than initial time.'};
39
% Create ClickDEFAULTtogetdefaultinputvaluesLabel_4
app.ClickDEFAULTtogetdefaultinputvaluesLabel_4 =
uilabel(app.CompSingleESModelWithoutIandWithCompandUncompITab);
app.ClickDEFAULTtogetdefaultinputvaluesLabel_4.Position = [33 419
238 22];
app.ClickDEFAULTtogetdefaultinputvaluesLabel_4.Text = 'Click
''DEFAULT'' to get default input values.';
% Construct app
function app = EKC246_Project_Group6_With_GUI1_exported1
if nargout == 0
clear app
end
end
User-defined Functions
Creating User-defined Function Namely en-
zyme_0 for Enzyme Kinetics Without Inhibitor
function [f1] = enzyme_0(~,x)
S=x(1);
P=x(2);
e=x(3);
ES=x(4);
40
global k1f k1b kcat E
end
S=x(1);
P=x(2);
e=x(3);
ES=x(4);
EI=x(5);
I=x(6);
end
41
S=x(1);
P=x(2);
e=x(3);
ES=x(4);
ESI=x(5);
I=x(6);
42