use of artisynth.core.util.MatlabInterface in project artisynth_core by artisynth.
the class ProbeInfo method saveToMatlab.
private void saveToMatlab(Probe probe) {
// connection should exist or this method shouldn't be called
MatlabInterface mi = getMain().getMatlabConnection();
NumericProbeBase np = (NumericProbeBase) probe;
ProbeEditor.saveToMatlab(np, mi, myController);
}
use of artisynth.core.util.MatlabInterface in project artisynth_core by artisynth.
the class ProbeInfo method loadFromMatlab.
// load a probe from a MATLAB variable
public void loadFromMatlab(Probe probe) {
// connection should exist or this method shouldn't be called
MatlabInterface mi = getMain().getMatlabConnection();
NumericProbeBase np = (NumericProbeBase) probe;
ProbeEditor.loadFromMatlab(np, mi, myController);
}
Aggregations