📄 set_observation.m.svn-base
字号:
function [model] = set_observation(model, a, b)if (a > model.number_vertices)error('The specified variable does not exist in the graph.');endif (model.all_variables) if (b > model.all_variables_size)error('The specified variable cannot have that observation.'); endelseif (b > model.variables_sizes(a))error('The specified variable cannot have that observation.');endendmodel.observations{a} = b;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -