Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
nshmp-haz
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
ghsc
National Seismic Hazard Model Project
nshmp-haz
Commits
7836bcf3
Commit
7836bcf3
authored
3 years ago
by
Powers, Peter M.
Browse files
Options
Downloads
Patches
Plain Diff
doc edits
parent
80388922
No related branches found
No related tags found
2 merge requests
!593
Production Release | nshm-haz
,
!591
Code review 479
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
etc/examples/README.md
+1
-1
1 addition, 1 deletion
etc/examples/README.md
etc/matlab/README.md
+3
-13
3 additions, 13 deletions
etc/matlab/README.md
with
4 additions
and
14 deletions
etc/examples/README.md
+
1
−
1
View file @
7836bcf3
# Examples
These examples are designed to be executed locally while following the READMEs on Git
H
ub.
These examples are designed to be executed locally while following the READMEs on Git
L
ub.
All examples avoid a lengthy call to Java and the
`HazardCalc`
program by using the following
system alias:
...
...
This diff is collapsed.
Click to expand it.
etc/matlab/README.md
+
3
−
13
View file @
7836bcf3
# Using nshmp-haz with Matlab
This is out of date.
>**NOTE:** *nshmp-haz* was recently upgraded to Java 8, which supercedes and is
incompatable with the Java 7 JVM that ships with Matlab. Users will need to set the
`MATLAB_JAVA`
environment variable to point to a Java 8 runtime.
All recent versions of Matlab include a Java runtime environment and it is therefore
relatively straightforward to use the nshmp-haz library.
## Requirements
1.
Matlab R2013B or higher (nshmp-haz targets Java 7; prior versions of Matlab use Java 6).
2.
A
[
build
](
https://github.com/usgs/nshmp-haz/wiki/building-&-running
)
of nshmp-haz.
The best way to use _nshmp-haz_ with matlab is as a web service. The scripts in this directory
provide examples of how to access web services for ground motion models (GMMs) that are based
on the code in this repository.
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