Skip to content
Snippets Groups Projects
Commit 7836bcf3 authored by Powers, Peter M.'s avatar Powers, Peter M.
Browse files

doc edits

parent 80388922
No related branches found
No related tags found
2 merge requests!593Production Release | nshm-haz,!591Code review 479
# Examples
These examples are designed to be executed locally while following the READMEs on GitHub.
These examples are designed to be executed locally while following the READMEs on GitLub.
All examples avoid a lengthy call to Java and the `HazardCalc` program by using the following
system alias:
......
# 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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment