Skip to content
Snippets Groups Projects
Commit be0de71c authored by Federico Felici's avatar Federico Felici Committed by Cristian Galperti
Browse files

Add example of referenced subsystem to template

With inherited parameters
parent 772c6d8e
Branches
No related tags found
No related merge requests found
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
...@@ -2,5 +2,5 @@ function fp = SCDalgo_template_loadfp(obj) ...@@ -2,5 +2,5 @@ function fp = SCDalgo_template_loadfp(obj)
%% Load other fixed parameters %% Load other fixed parameters
fp.timing = obj.gettiming; fp.timing = obj.gettiming;
fp.refmodel.offset = 1; % a fixed parameter
end end
\ No newline at end of file
...@@ -2,5 +2,5 @@ function TP = SCDalgo_template_loadtp() ...@@ -2,5 +2,5 @@ function TP = SCDalgo_template_loadtp()
% Setup tunable control params % Setup tunable control params
TP.gain = single(2); TP.gain = single(2);
TP.refmodel.gain = 4; % another gain used in referenced model
end end
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment