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 7519865
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T01:58:20+00:00 2026-05-30T01:58:20+00:00

We are accessing a .NET object from matlab. It’s some image capture software, and

  • 0

We are accessing a .NET object from matlab. It’s some image capture software, and we’re wanting to copy the image data into matlab.

We have two options for getting at this data. First is to create an image object which has in it’s constructor an argument of type unsigned char * which when you look at the “limitations of .net” web page here:
http://www.mathworks.com/help/techdoc/matlab_external/brpb5k6-1.html#brpb58f-1
seems to indicate that you cannot pass a pointer to a .NET library in that fashion. (EVen though we can create an appropriate pointer using the libpointer matlab function.

Second thought is that if we use a default constructor in this library, which under the hood manages the memory, and creates the buffer, the buffer is accessible via a System.Reflection.Pointer object. But, how do we grab the data from that pointer, and get it copied into a matlab array?

Cannot figure that out. Any thoughts would be appreciated. Speed for this step is not critical, so slow works for us.

thanks

  • 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-30T01:58:21+00:00Added an answer on May 30, 2026 at 1:58 am

    This looks to be impossible to do, based upon out of band conversations with mathworks, and others.

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

Sidebar

Related Questions

I have a asp.net website and I am accessing that web service from my
I have some data I'm getting from a datasource which is a bunch of
I have a .NET assembly which I am accessing from VBScript (classic ASP) via
I use ASP.Net with NHibernate accessing a Pgsql database. For some of our Objects,
I have a java library that I am accessing in VB.NET via COM. The
What is the syntax for accessing a AppSettings directly from the ASP.NET Markup? I
I am building my first ASP.Net MVC based app and have a problem accessing
I have an ASP.NET MVC application with the default membership database. I am accessing
I have a class which makes a url request and stores data from that
I'm writing an ASP.Net MVC application using Jquery to post some data to my

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.