eberaud Posted September 21, 2015 Report Share Posted September 21, 2015 Dear all, My company is starting a project where some Matlab files (.m) need to be executed by LabVIEW. The 2 obvious solutions are Matlab script nodes and MathScript nodes. Unfortunately, even though the latter one is the most cost-effective and light in terms of installation, many of the functions we need are not supported by the Run Time Engine, so it's kind of a deal breaker. For the Matlab script nodes, I know Matlab needs to be installed since LabVIEW will request Matlab to execute the scripts through ActiveX. What I don't know is: what version of Matlab? Is there a cheaper "Run Time Engine" of Matlab we can use instead of buying the full-blown developement version of Matlab? Any other comment, remark, suggestion, alternatives? Thanks! Quote Link to comment
ThomasGutzler Posted September 21, 2015 Report Share Posted September 21, 2015 Alternatively, you could get the Matlab compiler toolkit and build yourself a dll from the matlab code. I've done that but haven't interfaced with LabVIEW - but how hard can it be.. Quote Link to comment
eberaud Posted September 22, 2015 Author Report Share Posted September 22, 2015 Thanks! It's probably going to be the path we'll follow. Quote Link to comment
ThomasGutzler Posted September 22, 2015 Report Share Posted September 22, 2015 Let us know how hard it is to get the data into the right format for the dll to read it in happily. I've done in C#, so all the data structures were defined and ready to go. I'm not sure if Matlab made it that easy for LabVIEW. Quote Link to comment
eberaud Posted September 23, 2015 Author Report Share Posted September 23, 2015 Now you're scaring me... Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.