Commit b61bccf0 authored by Ferdinand Fischer's avatar Ferdinand Fischer
Browse files

Minor bug fixes for the export of data into csv files

parent b3e33d06
......@@ -3,9 +3,9 @@ classdef (Abstract) Data < handle & matlab.mixin.Heterogeneous
% Detailed explanation goes here
properties
basepath = '.';
foldername = '.';
filename = 'data';
basepath char = '.';
foldername char = '.';
filename char = 'data';
N = 201;
end
......@@ -53,7 +53,7 @@ classdef (Abstract) Data < handle & matlab.mixin.Heterogeneous
for k = 1:length(obj)
if ~obj(k).isempty
if ~isdir(obj(k).absolutepath)
if ~isfolder(obj(k).absolutepath)
mkdir(obj(k).absolutepath);
end
......
......@@ -190,7 +190,7 @@ classdef (InferiorClasses = {?quantity.Symbolic}) Discrete ...
headers{i+1} = obj(i).name + "" + num2str(i);
end
exportData = export.dd(...
'M', [obj.grid{:}, obj.valueDiscrete], ...
'M', [obj(1).grid{:}, obj.valueDiscrete], ...
'header', headers, varargin{:});
elseif obj.nargin == 2
error('Not yet implemented')
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment