Matlab terminate

Tags:
Matlab
Posted by:
Scott Cook 14 days ago

call to terminate MatLab

mclTerminateApplication()

matlab init

Tags:
Matlab, JVM
Posted by:
Scott Cook 14 days ago

Initialize Matlab w/o JVM

    const char *ops = "-nojvm";  // disable jvm

    m_bInitComplete = mclInitializeApplication(&ops, 1);

c++ Derivation

Posted by:
Ping Yu about 1 month ago
class Base {
public:
  int a,b;
};

class Derived : public Base {
public:
  int c;
};

int main() {
  Derived d;
  d.a = 1;    // Base::a
  d.b = 2;    // Base::b
  d.c = 3;    // Derived::c
}

Rails code

Tags:
ruby, rails, friends
Posted by:
Raymond Law about 1 month ago

Friends controller show action

def show
  @friends = Friend.all
end