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

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -