Skip to content
Snippets Groups Projects
Commit e18132c8 authored by Cristian Galperti's avatar Cristian Galperti
Browse files

Merge branch 'addtoplaunchmaxtracker' of gitlab.epfl.ch:spc/tcv/scd/rtccode...

Merge branch 'addtoplaunchmaxtracker' of gitlab.epfl.ch:spc/tcv/scd/rtccode into addtoplaunchmaxtracker
parents 83bced4f e0c6ec4f
No related branches found
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
......@@ -41,7 +41,7 @@ result = sim(SimIn);
% check output port data
tp = SCDalgo_template_loadtp;
output = result.SimOut{1}.Values.SCDsignal_example_3.Value;
assert(max(output) == tp.gain,'Wrong output!');
assert(max(output) == 7,'Wrong output!');
% check logs which contain a SCDsignal type data
logsout = result.logsout;
......
......@@ -2,5 +2,5 @@ function fp = SCDalgo_template_loadfp(obj)
%% Load other fixed parameters
fp.timing = obj.gettiming;
fp.refmodel.offset = 1; % a fixed parameter
end
\ No newline at end of file
......@@ -2,5 +2,5 @@ function TP = SCDalgo_template_loadtp()
% Setup tunable control params
TP.gain = single(2);
TP.refmodel.gain = 4; % another gain used in referenced model
end
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment