diff --git a/code/classes/SCD.m b/code/classes/SCD.m new file mode 100644 index 0000000000000000000000000000000000000000..acefc75eb9cf970378b1fc04015767a8e4aaad85 --- /dev/null +++ b/code/classes/SCD.m @@ -0,0 +1,29 @@ +classdef SCD + % main interface class just to get expcode + % E = SCD.load(expcode); + properties (Access = private) + E % expcode + SCDexps % expcode code container + end + + methods (Static) + function E=load(expcode) + % Creating the experimental code container class + SCDexps = SCD.getexpcodecontainer(); + E = SCDexps.getbymaincode(expcode); + end + + function help() + SCDexps = SCD.getexpcodecontainer(); + SCDexps.printexpcodes; + end + + function list() + SCD.help; + end + + function SCDexps = getexpcodecontainer() + SCDexps = SCDconf_createexpcodes; + end + end +end \ No newline at end of file diff --git a/code/functions/SCDconf_createexpcodes.m b/code/functions/SCDconf_createexpcodes.m index b4241d3d4b237ab4b9fc0f257340ebb7b0bd3733..ce9cec2f1246fefa5a89ca195060eeaee8d8adb7 100644 --- a/code/functions/SCDconf_createexpcodes.m +++ b/code/functions/SCDconf_createexpcodes.m @@ -15,6 +15,7 @@ SCDexps=SCDexps.insertexpcode(1005, @(x) SCDexpcodeconf_tcvstandard02); SCDexps=SCDexps.insertexpcode(10 , @(x) SCDexpcodeconf_f4eexample); SCDexps=SCDexps.insertexpcode(1006, @(x) SCDexpcodeconf_DMmagcontrol); SCDexps=SCDexps.insertexpcode(1010, @(x) SCDexpcodeconf_integrated); +SCDexps=SCDexps.insertexpcode(2025, @(x) SCDexpcodeconf_LIUQEtester); if nargout == 0 % assign output argument in base