Many changes for 400G DSP

Minimal Example
...
This commit is contained in:
sioe
2024-12-17 16:17:58 +01:00
parent 397cfa61dd
commit e47a4dbbbe
68 changed files with 2749 additions and 2948 deletions

View File

@@ -114,6 +114,12 @@ classdef DataStorage < handle
end
function addValueToStorageByLinIdx(obj, valueToStore ,storageVarName, lin_idx)
obj.sto.(storageVarName){lin_idx} = valueToStore;
end
% Access Value(s)
function value = getStoValue(obj,storageVarName, varargin)
@@ -270,7 +276,7 @@ classdef DataStorage < handle
function phys_indices = getPhysIndicesByLinIndex(obj, lin_idx)
function [phys_indices,param_name] = getPhysIndicesByLinIndex(obj, lin_idx)
% Converts a linear index into the corresponding physical parameter values
% Inputs:
% - lin_idx: The linear index within the storage array
@@ -285,8 +291,8 @@ classdef DataStorage < handle
% Map subscripts to physical values for each parameter
for i = 1:numel(obj.fn)
param_name = obj.fn(i);
phys_indices{i} = obj.parameter.(param_name).getPhysForIndex(subscripts{i});
param_name{i} = obj.fn(i);
phys_indices{i} = obj.parameter.(param_name{i}).getPhysForIndex(subscripts{i});
end
end