Call a foreign-language function: Difference between revisions
→Calling Java
Line 1,941:
}
}</lang>
Compile with <code>javac -cp %STATA%\utilities\jar\sfi-api.jar HilbertMatrix.java</code>, assuming %STATA% is the path to the Stata install directory.
In Stata, assuming HilbertMatrix.class resides in K:\java:
|