Show
Ignore:
Timestamp:
12/28/09 17:02:37 (15 years ago)
Author:
mido
Message:

odladen FindMatlab?.cmake
trida UImxConfig smazana a nahrazena statickou funkci UImxArray::create_mxArray(), a podle toho upravene zdrojaky
odstranen abort ze shared pointeru

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • applications/bdmtoolbox/mex/lqg_redesign.cpp

    r733 r756  
    1212#ifdef MEX 
    1313#include <mex/mex_parser.h> 
    14 #include <mex/config2mxstruct.h> 
    1514 
    1615void mexFunction ( int n_output, mxArray *output[], int n_input, const mxArray *input[] ) { 
     
    7170        mat2mxArray(L, output[0]); 
    7271        if (n_output>1){ 
    73                 Config C;  
    74                 rv.to_setting(C.getRoot()); 
    75                 UImxConfig ui(C.getRoot()); 
    76                 output[1] = ui.mxconfig; 
     72 
     73                UImxArray out; 
     74                UI::save( &rv, out ); 
     75                output[1]= out.create_mxArray(); 
    7776        } 
    7877