Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LRT_infinite_dimensional_systems
conI
Commits
b61bccf0
Commit
b61bccf0
authored
Jul 03, 2020
by
Ferdinand Fischer
Browse files
Minor bug fixes for the export of data into csv files
parent
b3e33d06
Changes
2
Hide whitespace changes
Inline
Side-by-side
+export/Data.m
View file @
b61bccf0
...
...
@@ -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
~
is
di
r
(
obj
(
k
)
.
absolutepath
)
if
~
is
folde
r
(
obj
(
k
)
.
absolutepath
)
mkdir
(
obj
(
k
)
.
absolutepath
);
end
...
...
+quantity/Discrete.m
View file @
b61bccf0
...
...
@@ -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'
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment