octave - Loading mat files within a package function -
octave - Loading mat files within a package function -
i'm working on bundle gnu octave. 1 of bundle functions uses large, pre-computed table of data. info stored in mat file load , unload when function called. problem i'm unsure of good, installation non-specific way of doing this. near can tell have give load command absolute path mat file within bundle install directory. can see no way of getting directory @ run-time. missing or going wrong way?
pkg_add executed when bundle loaded can path pkg_add resides in __fqp__ = fileparts (mfilename ("fullpath"));
from there can init data.
if want install dir bundle it's possible load( pkg ("local_list"))
, inspect local_packages
.
i think such specific octave questions should go help@octave.org mailinglist.
do want distribute new bundle on octave-forge?
package octave
Comments
Post a Comment