Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
TSG QC
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
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
US191
TSG QC
Commits
c1142cc9
Commit
c1142cc9
authored
16 years ago
by
Yves Gouriou
Browse files
Options
Downloads
Patches
Plain Diff
Ajout de la fonction qui test et eventuellement cree
le fichier platform
parent
a4416fbb
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tsg_io/existPlatform.m
+20
-0
20 additions, 0 deletions
tsg_io/existPlatform.m
with
20 additions
and
0 deletions
tsg_io/existPlatform.m
0 → 100644
+
20
−
0
View file @
c1142cc9
function
existPlatform
(
hMainFig
)
% Get the data from the application GUI
% -------------------------------------
tsg
=
getappdata
(
hMainFig
,
'tsg_data'
);
filename
=
[
tsg
.
DEFAULT_PATH_FILE
'@tsg_nc'
filesep
'tsg_platform.csv'
];
if
~
exist
(
'tsg_platform.csv'
)
fid
=
fopen
(
filename
,
'wt'
);
fprintf
(
fid
,
'%% tsg_platform.csv: 14 members & 0 lines with data \n'
);
fprintf
(
fid
,
'%% $Id$ \n'
);
fprintf
(
fid
,
'%% \n'
);
fprintf
(
fid
,
'id;PLATFORM_NAME;SHIP_CALL_SIGN;SHIP_MMSI;TSG_TYPE;TSG_NUMBER;TINT_TYPE;TINT_NUMBER;SAMPLING_PERIOD;SSPS_DEPH;SSPS_DEPH_MIN;SSPS_DEPH_MAX;SSTP_DEPH;SSTP_DEPH_MIN;SSTP_DEPH_MAX;DATE_TSG;endl \n'
);
fprintf
(
fid
,
'char;char;char;char;char;char;char;char;integer;integer;integer;integer;integer;integer;integer;integer;integer \n'
);
fclose
(
fid
);
end
\ No newline at end of file
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