Jump to content

mange

Members
  • Posts

    1
  • Joined

  • Last visited

    Never

mange's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Hi I want to send a m-file with a function from Matlab to Labview. An exampel of the m-file is attaced below. The reson for the function in the m-file is that Im doing an exemenation report in electric enginering and have lot of m-files that alredy are built in matlab and they exists of functions. My question is what shuld i type in the matlabpromt to save the file in the right format so it can be read from Labview. Shuld it be 'mcc -x 'filename'? In Labview I have tryed to import the file whit help from 'Call Function Libary Node' but when i configur the nod only mexLibrary is avilebel in the dropdown for names to be selected as function names. And how shuld the input and outputparameters be set? When I have tryed this I got the folloving error message 'The dynamic link libary libmatlb.dll culd not be found in the specific path Her is the m-file function labview4(y) x=1; s=y+x; if s==2 p=2 else p=s-10 end
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.