Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7043099
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:14:53+00:00 2026-05-28T02:14:53+00:00

I have an algorithm implemented in Matlab and I’m planning to deploy it as

  • 0

I have an algorithm implemented in Matlab and I’m planning to deploy it as a DLL for integration with a .NET project. The .NET project is a GUI based application a small part of which consists of displaying the results obtained from running the algorithm. The problem I currently have is that I need to display intermediary results. The algorithm is quite intricate and runs for a number of iterations (chosen by the user) and at the end of each iteration the GUI should be updated with the current data.

The best solution that I have in mind at the moment is for the Matlab thread to act as a tcp client to the local tcp server that I would start in my C# GUI app. However, I feel this approach is inefficient. I was wondering whether this could be achieved some other way.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T02:14:53+00:00Added an answer on May 28, 2026 at 2:14 am

    First of all, judging by your question, I guess you know about Matlab builder NE. It allows you to deploy a .NET DLL. If you don’t know, try it.

    Regarding your options:

    1) You can pass a .NET object to your Matlab code that will serve as a communications means.
    Create a new instance of this class, and send to your Matlab code as input. The Matlab code will call the UpdateGui logic with each iteraion. The following example is in C#

     class GuiUpdater{
          public void UpdateGui(int param1,int param2){
               //Do update logic here.
          }
     } 
    

    2) Compile your DLL as COM (It is also possible in Matlab Builder NE), and use COM communication.
    3) Use the filesystem as communication means. Write to a file in Matlab, and read it in .NET.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have implemented a cryptography algorithm using my own code using C#.net , i
I have implemented the A* algorithm in AS3 and it works great except for
This is regarding AES algorithm. Suppose i have implemented a AES algorithm and encrypt
I have an algorithm that generates strings based on a list of input words.
I have implemented the A* Algorithm According to Wikipedia's implementation at here However, it
I have used ATI Stream SDK on windows XP SP3 and implemented one algorithm
I have the following algorithm implemented in Java which uses TCP/IP: -Client request a
I have implemented peterson' algorithm for mutual exclusion in shared memory. I am using
I have implemented MFCC algorithm and want to implement BFCC. What are the differences
I have implemented an algorithm that will generate unique names for files that will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.