Menu

#5 Subscripted assignment dimension mismatch

v1.0_(example)
pending
nobody
None
5
2016-06-17
2015-04-18
No

Dear Friends,
I frequently obtain this message, when I try to continue a branch of LPs within the GUI interface. I am using matcont6p1 and Matlab R2014a. As far as I can tell, the behaviour was the same in previous matcont releases.
If necessary, I could assemble an example diagram.
Best wishes
Alois

Discussion

  • Alois Steindl

    Alois Steindl - 2015-05-15

    I have meanwhile found one reason for that behaviour: The array gds.BranchParams might get corrupted by trying to select an BP (branch parameter). The culprit is the usage of str2double in BranchPar.m, which causes a NaN entry in gds.BranchParams.
    In BranchParLP.m the function str2num is used instead and that works.
    (In my opinion the implemented procedure to deal with the entries in BranchParams is too complicated: First the old state is written to a string, the new entry is appended to this string, then the string is converted back to an array of numbers and sorted. Why not just append the new BP to the array and sort it?)

     
  • hilmeijer

    hilmeijer - 2016-06-17
    • status: open --> pending
     

Log in to post a comment.