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

cfs12combined tester moved to sandbox/test

parent 77bebe2c
Branches
No related tags found
No related merge requests found
Showing
with 23 additions and 3 deletions
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
File suppressed by a .gitattributes entry, the file's encoding is unsupported, or the file size exceeds the limit.
function algo_cfs12combined_harness_run(obj)
% run harness and check the result
obj.init;
obj.setup;
% Workaround to define proc buses in one place only
% NOTE: this is not to be replicated,
% an higher hyerarchical SCDDS level must be put in place
% to do it properly
dd1=Simulink.data.dictionary.open('algo_cfs1.sldd');
ddd1=dd1.getSection('Design Data');
ddd1.deleteEntry('algo_cfs2_procout');
dd2=Simulink.data.dictionary.open('algo_cfs2.sldd');
ddd2=dd2.getSection('Design Data');
ddd2.deleteEntry('algo_cfs1_procout');
dd1.addDataSource('algo_cfs2.sldd');
dd2.addDataSource('algo_cfs1.sldd');
% load tunable control parameters from mds
evalin('base','shot = 1;'); % shot reference
evalin('base','obj1.actualize(shot);');
evalin('base','obj2.actualize(shot);');
shot=1;
obj.actualize(shot);
% Input Data - must be structure of timeseries matching input bus structure
% time = 0:obj.gettiming.dt:1;
......
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