|
Xiao LI wrote:
> "Steven Lord" <slord@mathworks.com> wrote in message
>> Is the canny.exe program written so that it expects its first input argument
>> to be the name of a data file? If not, then how would it know what to do
>> with that first input argument? If it does, then you will need to work with
>> the developer of the canny.exe program to debug why it's not behaving as
>> expected.
>>
> Thank you for your suggestion.
> In the Canny.exe program, to do the analysis you need to open one
> file, e.g. my.dat, which tells the content of analysis. I just do not
> know how can I let matlab to tell the Canny.exe to open this dat
> file.
You can try input redirection -- put the name of the input file to open
in another file and try
canny <input.fil
from the command prompt. If that works, translate it to they system()
function in ML. If it doesn't, you're basically forced to figuring out
if you can manage to stuff keystrokes directly to the app via whichever
OS API-set you happen to be working under. There's certainly no
guarantee you can get that to work, either...
--
|