Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
artoa4argo
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
argoTools
artoa4argo
Commits
9fb26f0e
Commit
9fb26f0e
authored
5 years ago
by
leprob001
Browse files
Options
Downloads
Patches
Plain Diff
The load and save interim functions are now using the values from the ini file.
parent
ed9f9306
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lib/+artoa/+controller/+file/loadInterim.m
+9
-2
9 additions, 2 deletions
lib/+artoa/+controller/+file/loadInterim.m
lib/+artoa/+controller/+file/saveInterim.m
+5
-1
5 additions, 1 deletion
lib/+artoa/+controller/+file/saveInterim.m
with
14 additions
and
3 deletions
lib/+artoa/+controller/+file/loadInterim.m
+
9
−
2
View file @
9fb26f0e
...
...
@@ -2,11 +2,18 @@ function [] = loadInterim()
%LOADINTERIM Loads the current state of ARTOA4 from the file specified by dialog.
%
global
artoaDataInput
;
%% Get required variables
folder
=
artoa
.
data
.
getMember
(
artoaDataInput
,
{
'ini'
,
'directory'
,
'interim'
},
pwd
());
filter
=
artoa
.
data
.
getMember
(
artoaDataInput
,
{
'ini'
,
'filemask'
,
'interim'
},
'*.itm'
);
%% Ask for filename
filename
=
uigetfile
(
'*.itm'
);
filename
=
uigetfile
(
fullfile
(
folder
,
filter
)
);
if
(
filename
==
0
)
return
return
;
end
%% Load mat file
...
...
This diff is collapsed.
Click to expand it.
lib/+artoa/+controller/+file/saveInterim.m
+
5
−
1
View file @
9fb26f0e
...
...
@@ -4,8 +4,12 @@ function [] = saveInterim()
global
artoaWorkspace
artoaDataInput
artoaDataOutput
;
%% Get required variables
folder
=
artoa
.
data
.
getMember
(
artoaDataInput
,
{
'ini'
,
'directory'
,
'interim'
},
pwd
());
filter
=
artoa
.
data
.
getMember
(
artoaDataInput
,
{
'ini'
,
'filemask'
,
'interim'
},
'*.itm'
);
%% Ask for filename
filename
=
uiputfile
(
'*.itm'
);
filename
=
uiputfile
(
fullfile
(
folder
,
filter
)
);
if
(
filename
~=
0
)
save
(
filename
,
'artoaWorkspace'
,
'artoaDataInput'
,
'artoaDataOutput'
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment