Techware Labs Header

Forums have moved

See this announcement for more details, or just go directly there.

  #1  
Old 10-30-2003, 11:35 PM
VinuKrithiga
 
Posts: n/a
Default Calling Matlab function in VB

Hai,
I want to call matlab function in VB.

Dim matlab As Object
Dim array1(10) As String

'Invalid statement
y = matlab.execute("main1(array1)")


main1(array1) is the matlab function & array1 is the array input argument.This code executes when I pass the array value straightly as

'Valid statement
y = matlab.execute("main1(['ka';'sa'])")

for the "Invalid statement" its not executing and giving the error statement as

"undefined variable or function 'array1'"

Anyone please help me to solve this problem.

Reply to my id : krithiga_m@yahoo.com

Regards
vinu
Reply With Quote
  #2  
Old 10-31-2003, 12:50 PM
Prometheus Prometheus is offline
Chronique Technique
Lab Master Techie
 
Join Date: Sep 2002
Location: Bellingham,WA
Posts: 3,058
Send a message via AIM to Prometheus
Default

im taking VB im wondering what this does what is it used for>?
Reply With Quote
  #3  
Old 10-31-2003, 12:53 PM
Prometheus Prometheus is offline
Chronique Technique
Lab Master Techie
 
Join Date: Sep 2002
Location: Bellingham,WA
Posts: 3,058
Send a message via AIM to Prometheus
Default

http://www.google.com/search?hl=en&l...n+Visual+Basic

http://www.cemware.com/core/mlinker1.0.htm
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 01:58 PM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.