Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

MATLAB& visual languages question

Status
Not open for further replies.

nebisman

Full Member level 4
Joined
Apr 13, 2002
Messages
226
Helped
10
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,849
Dear friends:

Is it possible to use matlab code (or code translation) in a development under Delphi or Visual basic?.

How can do it , what's the better way?
I understand that Matlab provides a compiler to C, C++ code, but how can I link this code with a delphi application?

Thanks great peopple

Nebisman
 

real_tr

Member level 3
Joined
Mar 22, 2002
Messages
63
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
Turkiye
Activity points
433
it is not possible in way
but you can convert matlab code to c or c++ code using mcc command then you can use this codes in delphi
hovewer it is a hard problem
 

kot_b

Advanced Member level 4
Joined
Dec 28, 2001
Messages
103
Helped
5
Reputation
10
Reaction score
3
Trophy points
1,298
Location
Latvia
Activity points
696
Hmmm. It seems, that in R12 was VB libararies.... I can't remember it... I will look forward.
 

petarpav

Full Member level 5
Joined
Mar 25, 2002
Messages
301
Helped
13
Reputation
26
Reaction score
5
Trophy points
1,298
Activity points
2,172
It think, that it was VC4.2 or VC6 libararies.
 

maziar

Full Member level 4
Joined
Jun 6, 2001
Messages
195
Helped
5
Reputation
10
Reaction score
1
Trophy points
1,298
Location
Islamic republic of Iran
Activity points
1,566
porting matlab in c/c++ only.


then you can not do it in delphi or vb

i am delphi programmer some of func in matalb av. by VCL see torry.net for more info
 

abba

Member level 2
Joined
Jan 10, 2002
Messages
45
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
256
convert your m-file as aktivx then implement it in delphi or visual basic - it works fine.

good luck
 

nebisman

Full Member level 4
Joined
Apr 13, 2002
Messages
226
Helped
10
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,849
thanks for your help


Mr. MAZIAR
Thanks for the link, Coul you upload any exmaple of VCL that perfomrs a matlab function.


Mr. ABBA
Could you explain me how I can convert the .m code into activex component , where I can find related info.

regards .

nebisman
 

nebisman

Full Member level 4
Joined
Apr 13, 2002
Messages
226
Helped
10
Reputation
22
Reaction score
9
Trophy points
1,298
Activity points
1,849
Hello friends

I return with the same question very needed


I have developed a virtual instrument (An scope/signal generator/data logger )under delphi. My need is to control it over internet. Real time not needed I have to transmit 256B or 512 B frames more other bits for control the instrument (Can exist longer delays in TX/RX). Can you advice me an easy method for do it? . other point is that the two computers are not static IP server connected to internet. They are two computers connected to internet by ISP by example for phone modems.

I'm lossed and
friends help me please

What shoud I learn , what method is more suitable. ?
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top