Techware Labs Header

Forums have moved

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

Prev Previous Post   Next Post Next
  #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
 


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 11:53 PM. Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Forum style by ForumMonkeys.