Pass Path From c# to matlab -
Pass Path From c# to matlab -
matlab ,c# expert trying pass path generated c#
(apppath = path.getdirectoryname(application.executablepath);
to dll created script in matlab contains functions
it works when send numeric ,string values functions , let's function never works when seek send paths
looks cd(path)
in matlab function , not work !
the thing have 1 created dll function cd(path)
work though created same mwarray version , same matlab version ! confused tried send mwarray , mwcell char nil worked
i have no thought !
it looks matlab not path correctly or not execute cd(path)
in right way
anyway instead of alter matlab path , access directory of desired folder
here how
fopen(fullfile(path,filenam));
that how solved issue
best regard
c# matlab path send
Comments
Post a Comment