-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathbiips_variable_names.m
More file actions
34 lines (30 loc) · 1.16 KB
/
biips_variable_names.m
File metadata and controls
34 lines (30 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
function varnames = biips_variable_names(model)
% BIIPS_VARIABLE_NAMES Variable names of the Biips model.
% varnames = biips_variable_names(model)
%
% INPUT:
% - model: Biips model as returned by the BIIPS_MODEL function
%
% OUTPUT:
% - varnames: cell of strings. the list of variable names of the model
%
% See also BIIPS_MODEL, BIIPS_NODES, BIIPS_PRINT_DOT
%--------------------------------------------------------------------------
% EXAMPLE:
% modelfile = 'hmm.bug';
% type(modelfile);
%
% data = struct('tmax', 10, 'p', [.5; .5], 'logtau_true', log(1), 'logtau', log(1));
% model = biips_model(modelfile, data, 'sample_data', true);
%
% biips_variable_names(model)
%--------------------------------------------------------------------------
% Biips Project - Bayesian Inference with interacting Particle Systems
% Matbiips interface
% Authors: Adrien Todeschini, Marc Fuentes, Fran�ois Caron
% Copyright (C) Inria
% License: GPL-3
% Jan 2014; Last revision: 18-03-2014
%--------------------------------------------------------------------------
check_struct(model, 'biips');
varnames = matbiips('get_variable_names', model.id);