I have a Matlab script that requires a function in a DLL, and calls addpath
to put it's location on the path. This works fine, but when I try to invoke the same script on the command line with matlab -r "scriptname"
it errors out saying that method is undefined. Is there something different happening when I'm starting from the command line vs loading up the GUI normally?
views:
14answers:
1
A:
turns out both 64-bit and 32-bit versions of matlab were installed, and the first one in the path was the 64-bit, whereas I needed the 32-bit for things to work.
toasteroven
2010-07-19 22:47:27