Skip to content
Snippets Groups Projects
Commit 1580a76c 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 5ed54694
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.
...@@ -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 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