Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Problems with the latest version of Matlab

  1. Dec 12, 2012 #1


    User Avatar
    Homework Helper

    Has anyone found that their matlab programs are now giving nonsensical results in te latest version of matlab? I wrote a program which worked very well in the 2011 version of matlab but now in the 2012 version of matlab it still sort of runs but nor yields nonsensical results. I can show examples has anyone found this?

    I have tried to run the codes on Octave but it seems to take ages.

  2. jcsd
  3. Dec 15, 2012 #2


    User Avatar
    Gold Member

    I have not had this problem, personally, but I've only just begun using 2012 in the last month.

    It is possible that one of the standard matlab funciton you're using either

    a) has stopped being supported, so it's no longer vetted to see if it works after changing possible dependencies and core matlab code.

    b) has been changed in a way that the inputs and/or outputs are expected differently.

    You're going to have to either track the bug (which sometimes ends up being a can of worms, depending on how complex your code is) or stick with 2011.

    In the editor under the (tools, I think) menu, there's a "dependency report". You can use that to see all the functions your program relies on (and can do the same for each of those functions). Then you can check on support for each of those functions in 2012.

    here's the release notes. You can click on each topic to expand it and see details on function/handling changes, etc.:
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook