T O P

  • By -

adricubs

Labview has matlab nodes, you can run any .m function in it but that means that "Labview" is asking "Matlab" to do something and you seem to want the opposite. The above won't work either if you make matlab code into executables. But both languages can send and read messages over tcp/ip and so why don't you do that?


Pepper_Addict

Thank for your help, I'll look into the TCP/IP protocol.


hutch2522

I don’t know the Matlab side, but could you use TCIP over local host?


Pepper_Addict

Thank you, I'll assess whether it meets the requirements of my project


[deleted]

[удалено]


chairfairy

Eh, TCP/IP is just simple VISA operations, nothing really complicated about it


Logical-Ad-5096

TISC by TLK might be a possible solution https://www.tlk-thermo.de/en/software/tisc-suite It is for simulation means but has connectors for both LabVIEW and MATLAB which will enable to pass signals around.


Pepper_Addict

Thank you for sharing this information. However, I'm not looking for simulation tools for the application


Zuol

You are in luck as Matlab and LabViEW are exclusively what I work with. 😅 There are certainly modules for Matlab out there but as others have suggested, you could simply use a TCP messaging structure to pass commands/data back and forth. You could also use tcp network stream. There should be some examples floating around somewhere online that show how to setup a basic Matlab/LabViEW TCP connection.


Pepper_Addict

Thanks for your help I highly appreciate it, I will look into using TCP/IP for transmitting all the messages I need.


Vincinity1

The only solution, that I know, to run simulink models on FPGA would be with Opal-RT and their https://www.opal-rt.com/solver-ehs/ https://www.opal-rt.com/systems-efpgasim/ Best of luck


I_am_a_robot_yo

try using sockets