473,386 Members | 1,702 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

mxArray

Hi

I am including a dll-file into my c#-project. This dll-file is c-code that
is written in Matlab. In Matlab they use the type mxArray. I need to call a
Matlab method that has a mxArray as input. How do I convert a mxArray to
c#-code? Is there some corresponding type in C# I can use?

Thanx for all help!
Nov 16 '05 #1
1 2753
snowflake,

I'm not too knowledgable about Matlab, but this article might help. It
is titled "1..2..3 ways of integrating MATLAB with the .NET" [sic]. It is
located at (watch for line wrap):

http://www.codeproject.com/dotnet/matlabeng.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"snowflake" <sn*******@discussions.microsoft.com> wrote in message
news:D2**********************************@microsof t.com...
Hi

I am including a dll-file into my c#-project. This dll-file is c-code that
is written in Matlab. In Matlab they use the type mxArray. I need to call
a
Matlab method that has a mxArray as input. How do I convert a mxArray to
c#-code? Is there some corresponding type in C# I can use?

Thanx for all help!

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: ronny | last post by:
Can anyone tell me why the following code works fine using an array. <snip> double xVal; // array mxArray *X = NULL; //MatLab mxArrays
13
by: Martijn van den Branden | last post by:
Hi, sorry if this message gets posted twice, i seem to have some problem posting to newsgroups. i've rewritten some loop in matlab using the mex interface method in c, and i've achieved a...
1
by: snowflake | last post by:
Hi all I give you here some example code how to make it possible to use the type mxArray (from matlab) in c and c++. mxArray is defined in matlab.h and matlab.hpp. To use mxArray in c or c++ you...
6
by: an0011 | last post by:
Hi static double *var = (double*) malloc(100000*sizeof(double)); is used among other memory allocations to store data that comes from a ..mat file The declarations are done on the main .cpp...
152
by: vippstar | last post by:
The subject might be misleading. Regardless, is this code valid: #include <stdio.h> void f(double *p, size_t size) { while(size--) printf("%f\n", *p++); } int main(void) { double array = { {...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.