Adding Libraries for ADMS Support

No special library installation is needed for ADMS support.

If you need to add system libraries to the LD_LIBRARY_PATH you can add them in a .vams_setup file. Doing it this way (rather than specifying the path before calling vasim) will prevent vasim from overwriting the path addition each time it starts.

This example appends the system shared libraries to LD_LIBRARY_PATH:

proc fixldpath {args} {
   set pvpair [split [join $args]]
   set pval   [lindex $pvpair 1]
   append newpval /directory/of/system/dlls ":" $pval
   append setcmd { array set env [list LD_LIBRARY_PATH } " " $newpval " " ]
   uplevel 1 $setcmd
}

fixldpath [array get env LD_LIBRARY_PATH]
  


 © 1984-2008- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS