Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dmm
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Archives
dmm
Commits
e3760e2a
Commit
e3760e2a
authored
10 years ago
by
Houtan Bastani
Browse files
Options
Downloads
Patches
Plain Diff
move setfilem and geterrstr to individual functions
parent
e2136239
No related branches found
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile
+2
-0
2 additions, 0 deletions
Makefile
ReadMatLabDesign.F
+0
-24
0 additions, 24 deletions
ReadMatLabDesign.F
geterrstr.for
+32
-0
32 additions, 0 deletions
geterrstr.for
setfilem.for
+32
-0
32 additions, 0 deletions
setfilem.for
with
66 additions
and
24 deletions
Makefile
+
2
−
0
View file @
e3760e2a
...
@@ -8,6 +8,8 @@ MOD_OBJS = \
...
@@ -8,6 +8,8 @@ MOD_OBJS = \
dlfcn.o
dlfcn.o
OBJS
=
\
OBJS
=
\
setfilem.o
\
geterrstr.o
\
amh2.o
\
amh2.o
\
gammln.o
\
gammln.o
\
int2seq2.o
\
int2seq2.o
\
...
...
This diff is collapsed.
Click to expand it.
ReadMatLabDesign.F
+
0
−
24
View file @
e3760e2a
...
@@ -248,27 +248,3 @@ C
...
@@ -248,27 +248,3 @@ C
RETURN
RETURN
END
END
C
-----------------------------------------
C
To
make
dynamic
the
name
of
the
.
m
file
C
-----------------------------------------
SUBROUTINE
SETFILEM
(
string1
,
string2
)
!DEC$ ATTRIBUTES DLLEXPORT, ALIAS:'setfilem_' :: SETFILEM
CHARACTER
*
200
string1
,
string2
,
mfile
,
pathmfile
COMMON
/
M
/
mfile
,
pathmfile
mfile
=
string1
pathmfile
=
string2
RETURN
END
C
--------------------
C
To
get
MatLab
errors
C
--------------------
SUBROUTINE
GETERRSTR
(
matlaberror
)
!DEC$ ATTRIBUTES DLLEXPORT, ALIAS:'geterrstr_' :: GETERRSTR
CHARACTER
*
1024
matlaberror
CHARACTER
*
1024
buffer
COMMON
/
ERRBUFFER
/
buffer
matlaberror
=
buffer
RETURN
END
This diff is collapsed.
Click to expand it.
geterrstr.for
0 → 100644
+
32
−
0
View file @
e3760e2a
C --------------------------------------------------------------------
C This file crates matlabdll.dll whih is ment to read the .m file
C
C Copyright (C) 2010-2014 European Commission
C
C This file is part of Program DMM
C
C DMM is free software developed at the Joint Research Centre of the
C European Commission: you can redistribute it and/or modify it under
C the terms of the GNU General Public License as published by
C the Free Software Foundation, either version 3 of the License, or
C (at your option) any later version.
C
C DMM is distributed in the hope that it will be useful,
C but WITHOUT ANY WARRANTY; without even the implied warranty of
C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
C GNU General Public License for more details.
C
C You should have received a copy of the GNU General Public License
C along with DMM. If not, see <http://www.gnu.org/licenses/>.
C ---------------------------------------------------------------------
C --------------------
C To get MatLab errors
C --------------------
SUBROUTINE GETERRSTR(matlaberror)
!DEC$ ATTRIBUTES DLLEXPORT, ALIAS:'geterrstr_' :: GETERRSTR
CHARACTER*1024 matlaberror
CHARACTER*1024 buffer
COMMON /ERRBUFFER/ buffer
matlaberror = buffer
RETURN
END
This diff is collapsed.
Click to expand it.
setfilem.for
0 → 100644
+
32
−
0
View file @
e3760e2a
C --------------------------------------------------------------------
C This file crates matlabdll.dll whih is ment to read the .m file
C
C Copyright (C) 2010-2014 European Commission
C
C This file is part of Program DMM
C
C DMM is free software developed at the Joint Research Centre of the
C European Commission: you can redistribute it and/or modify it under
C the terms of the GNU General Public License as published by
C the Free Software Foundation, either version 3 of the License, or
C (at your option) any later version.
C
C DMM is distributed in the hope that it will be useful,
C but WITHOUT ANY WARRANTY; without even the implied warranty of
C MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
C GNU General Public License for more details.
C
C You should have received a copy of the GNU General Public License
C along with DMM. If not, see <http://www.gnu.org/licenses/>.
C ---------------------------------------------------------------------
C -----------------------------------------
C To make dynamic the name of the .m file
C -----------------------------------------
SUBROUTINE SETFILEM(string1,string2)
!DEC$ ATTRIBUTES DLLEXPORT, ALIAS:'setfilem_' :: SETFILEM
CHARACTER*200 string1,string2,mfile,pathmfile
COMMON /M/ mfile, pathmfile
mfile = string1
pathmfile = string2
RETURN
END
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