Results 1 to 2 of 2

Thread: ML used for matrix computing

  1. #1

    Thread Starter
    New Member
    Join Date
    Aug 2007
    Posts
    1

    ML used for matrix computing

    I upgraded Matlab to 2007a and my program (enharited) stucks when comes to do Compute (see below).
    "Tips": If I activate a (fake/"tester") file between Call MLEvalString("LogRet") and Sheets("Test").Select lines, the program goes on but, of course, I get errors later. If I use "MD" instead of "LR" in Call MLGetMatrix("LR", "B11") line I advance a bit, but I overflow later.

    Sub Compute_returns()
    ' until here I already selected a matrix of data
    Call matlabinit
    Call MLPutMatrix("MD", Selection)
    Call MLEvalString("LogRet")
    Sheets("Test").Select
    Call MLGetMatrix("LR", "B11")
    MatLabRequest
    Call Compute
    Application.CutCopyMode = False
    End Sub

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: ML used for matrix computing

    Moved from Visual Basic FAQs, which is not for asking questions.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width