Menu

Matlab Versions and Compilers which work with GRAMPC

hcl734
2019-03-14
2019-03-18
  • hcl734

    hcl734 - 2019-03-14

    Hi all,

    is there a list of supported matlab versions that work with GRAMPC.
    I am currently using Matlab2018b on a Windows 10, 64 bit system with VS 2015 C++ Compiler.
    Running the same setup of my problem files leads irregularly but quite often two a crash of Matlab and other times runs fine and gives the desired results.
    Could it be a memory allocation fault?
    Unfortunately Matlab doesn't generate a dump file for debugging.
    Any advice on this is appreciated!

     
  • hcl734

    hcl734 - 2019-03-14
     

    Last edit: hcl734 2019-03-14
  • Felix Mesmer

    Felix Mesmer - 2019-03-15

    Hi,

    if you build your problem with "startMPC([],2,'debug')" you can attach your Visual Studio to Matlab and it will break at the point where the fault occures.
    You should also check that the dimensions you give in the function "ocp_dim" are correct. For example, setting "Nx = 2", but writing to "out[3]" in "ffct" could maybe lead to such errors (The same is true for the constraints).

    Regards,
    Felix

     
  • hcl734

    hcl734 - 2019-03-18

    You should also check that the dimensions you give in the function "ocp_dim" are correct. For example, setting "Nx = 2", but writing to "out[3]" in "ffct" could maybe lead to such errors (The same is true for the constraints).>

    Thank you that was my issue, working fine now with Matlab 2018b.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.