Navigation

    REXYGEN Community Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Connection between REXYGEN and Matlab

    General
    2
    4
    653
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      stepan.ozana last edited by

      Hi, for testing reasons, I'd like to keep calling a Matlab function from REXYGEN with a certain period (appx 1 second), and to pass results from that function back to REXYGEN. Is this possible? So far I looked at EPC, RDC (using OPC maybe?), REST_API and UDP examples. What would you recommend?

      1 Reply Last reply Reply Quote 0
      • jaroslav_sobota
        jaroslav_sobota last edited by

        Hi,
        I recommend running an infinite loop in Matlab, reading a trigger (e.g. some Boolean value) from REXYGEN via REST API. Afterwards execute your function and pass the results to REXYGEN, again via REST API.

        See example 0302-03 which is included in REXYGEN Studio.

        Regards
        Jaroslav

        1 Reply Last reply Reply Quote 0
        • S
          stepan.ozana last edited by

          Thanks, I successfully implemented suggested solution via REST API, it works excellent.

          1 Reply Last reply Reply Quote 0
          • jaroslav_sobota
            jaroslav_sobota last edited by

            Glad I could help!

            Best regards
            Jaroslav

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

            There is also an outdated REXYGEN community forum.

            Powered by NodeBB.