📄 asufit_mainhg.c
字号:
mlfAssign(&leftInt, mclCreateGlobal());
mlfAssign(&mainWindow, mclCreateGlobal());
mlfAssign(&maxIt, mclCreateGlobal());
mlfAssign(&name, mclCreateGlobal());
mlfAssign(&numTao, mclCreateGlobal());
mlfAssign(&numTaoFixed, mclCreateGlobal());
mlfAssign(&numTimePoints1, mclCreateGlobal());
mlfAssign(&numTimePoints2, mclCreateGlobal());
mlfAssign(&numVecs, mclCreateGlobal());
mlfAssign(&optionsMenu, mclCreateGlobal());
mlfAssign(&optionsbutton, mclCreateGlobal());
mlfAssign(¶msAns, mclCreateGlobal());
mlfAssign(&pathname, mclCreateGlobal());
mlfAssign(&perform, mclCreateGlobal());
mlfAssign(&plot3D, mclCreateGlobal());
mlfAssign(&plotMenu, mclCreateGlobal());
mlfAssign(&plotbutton, mclCreateGlobal());
mlfAssign(&pulseWidth, mclCreateGlobal());
mlfAssign(&restore, mclCreateGlobal());
mlfAssign(&restoreName, mclCreateGlobal());
mlfAssign(&revert, mclCreateGlobal());
mlfAssign(&rightInt, mclCreateGlobal());
mlfAssign(&shift, mclCreateGlobal());
mlfAssign(&shiftGuess, mclCreateGlobal());
mlfAssign(&spcAllTaoBox, mclCreateGlobal());
mlfAssign(&spcAllTaoText, mclCreateGlobal());
mlfAssign(&spcAmpAnsBox, mclCreateGlobal());
mlfAssign(&spcAmpAnsText, mclCreateGlobal());
mlfAssign(&spcDataGrid, mclCreateGlobal());
mlfAssign(&spcDateBox, mclCreateGlobal());
mlfAssign(&spcDateText, mclCreateGlobal());
mlfAssign(&spcEmitBox, mclCreateGlobal());
mlfAssign(&spcEmitText, mclCreateGlobal());
mlfAssign(&spcErrorBox, mclCreateGlobal());
mlfAssign(&spcErrorText, mclCreateGlobal());
mlfAssign(&spcExciteBox, mclCreateGlobal());
mlfAssign(&spcExciteText, mclCreateGlobal());
mlfAssign(&spcFilenames, mclCreateGlobal());
mlfAssign(&spcFitSave, mclCreateGlobal());
mlfAssign(&spcGlobal, mclCreateGlobal());
mlfAssign(&spcGlobalErrorBox, mclCreateGlobal());
mlfAssign(&spcGlobalErrorText, mclCreateGlobal());
mlfAssign(&spcInd, mclCreateGlobal());
mlfAssign(&spcIntPlot, mclCreateGlobal());
mlfAssign(&spcIntSetAxes, mclCreateGlobal());
mlfAssign(&spcLeftEnd, mclCreateGlobal());
mlfAssign(&spcMaxItBox, mclCreateGlobal());
mlfAssign(&spcMaxItText, mclCreateGlobal());
mlfAssign(&spcNumAllTaoBox, mclCreateGlobal());
mlfAssign(&spcNumAllTaoText, mclCreateGlobal());
mlfAssign(&spcNumTaoBox, mclCreateGlobal());
mlfAssign(&spcNumTaoFixedBox, mclCreateGlobal());
mlfAssign(&spcNumTaoFixedText, mclCreateGlobal());
mlfAssign(&spcNumTaoText, mclCreateGlobal());
mlfAssign(&spcPlot, mclCreateGlobal());
mlfAssign(&spcPlotMode, mclCreateGlobal());
mlfAssign(&spcPromptBox, mclCreateGlobal());
mlfAssign(&spcPromptText, mclCreateGlobal());
mlfAssign(&spcResidGrid, mclCreateGlobal());
mlfAssign(&spcResidPlot, mclCreateGlobal());
mlfAssign(&spcRightEnd, mclCreateGlobal());
mlfAssign(&spcShiftNumBox, mclCreateGlobal());
mlfAssign(&spcShiftNumText, mclCreateGlobal());
mlfAssign(&spcSpectrumBox, mclCreateGlobal());
mlfAssign(&spcSpectrumText, mclCreateGlobal());
mlfAssign(&spcTaoAnsBox, mclCreateGlobal());
mlfAssign(&spcTaoAnsText, mclCreateGlobal());
mlfAssign(&spcTaoBox, mclCreateGlobal());
mlfAssign(&spcTaoFixedBox, mclCreateGlobal());
mlfAssign(&spcTaoFixedText, mclCreateGlobal());
mlfAssign(&spcTaoText, mclCreateGlobal());
mlfAssign(&spcTog, mclCreateGlobal());
mlfAssign(&spcshift, mclCreateGlobal());
mlfAssign(&spcshifttext, mclCreateGlobal());
mlfAssign(&spctpchBox, mclCreateGlobal());
mlfAssign(&spctpchText, mclCreateGlobal());
mlfAssign(&spec, mclCreateGlobal());
mlfAssign(&spectrumFile, mclCreateGlobal());
mlfAssign(&subtract, mclCreateGlobal());
mlfAssign(&svdAnal, mclCreateGlobal());
mlfAssign(&svdErrorBox, mclCreateGlobal());
mlfAssign(&svdErrorText, mclCreateGlobal());
mlfAssign(&svdGlobalTogHypertext, mclCreateGlobal());
mlfAssign(&svdGlobalToggle, mclCreateGlobal());
mlfAssign(&svdGrid1, mclCreateGlobal());
mlfAssign(&svdGrid2, mclCreateGlobal());
mlfAssign(&svdGrid3, mclCreateGlobal());
mlfAssign(&svdNumVecsBox, mclCreateGlobal());
mlfAssign(&svdNumVecsText, mclCreateGlobal());
mlfAssign(&svdSurfNew, mclCreateGlobal());
mlfAssign(&svdSurfOld, mclCreateGlobal());
mlfAssign(&svdTimeBox, mclCreateGlobal());
mlfAssign(&svdTimeText, mclCreateGlobal());
mlfAssign(&svdWavelengthBox, mclCreateGlobal());
mlfAssign(&svdWavelengthText, mclCreateGlobal());
mlfAssign(&svdWeightBox, mclCreateGlobal());
mlfAssign(&svdWeightText, mclCreateGlobal());
mlfAssign(&svdbutton, mclCreateGlobal());
mlfAssign(&t, mclCreateGlobal());
mlfAssign(&tao, mclCreateGlobal());
mlfAssign(&taoAns, mclCreateGlobal());
mlfAssign(&taoFixed, mclCreateGlobal());
mlfAssign(&textBox, mclCreateGlobal());
mlfAssign(&tpch, mclCreateGlobal());
mlfAssign(&tzero, mclCreateGlobal());
mlfAssign(&vertRotBox, mclCreateGlobal());
mlfAssign(&wavelength, mclCreateGlobal());
mlfAssign(&weight, mclCreateGlobal());
mlfAssign(&xTol, mclCreateGlobal());
mlfFunctionTableSetup(55, function_table);
mlfHGInitialize(&argc, argv);
mlfAssign(&varargin, mclCreateCellFromStrings(argc - 1, argv + 1));
mlfFeval(
mclAnsVarargout(),
mlxAsufit,
mlfIndexRef(varargin, "{?}", mlfCreateColonIndex()),
NULL);
mxDestroyArray(varargin);
mlfHGWaitForFiguresToDie();
mlfHGTerminate();
mlfFunctionTableTakedown(55, function_table);
mxDestroyArray(xTol);
mxDestroyArray(weight);
mxDestroyArray(wavelength);
mxDestroyArray(vertRotBox);
mxDestroyArray(tzero);
mxDestroyArray(tpch);
mxDestroyArray(textBox);
mxDestroyArray(taoFixed);
mxDestroyArray(taoAns);
mxDestroyArray(tao);
mxDestroyArray(t);
mxDestroyArray(svdbutton);
mxDestroyArray(svdWeightText);
mxDestroyArray(svdWeightBox);
mxDestroyArray(svdWavelengthText);
mxDestroyArray(svdWavelengthBox);
mxDestroyArray(svdTimeText);
mxDestroyArray(svdTimeBox);
mxDestroyArray(svdSurfOld);
mxDestroyArray(svdSurfNew);
mxDestroyArray(svdNumVecsText);
mxDestroyArray(svdNumVecsBox);
mxDestroyArray(svdGrid3);
mxDestroyArray(svdGrid2);
mxDestroyArray(svdGrid1);
mxDestroyArray(svdGlobalToggle);
mxDestroyArray(svdGlobalTogHypertext);
mxDestroyArray(svdErrorText);
mxDestroyArray(svdErrorBox);
mxDestroyArray(svdAnal);
mxDestroyArray(subtract);
mxDestroyArray(spectrumFile);
mxDestroyArray(spec);
mxDestroyArray(spctpchText);
mxDestroyArray(spctpchBox);
mxDestroyArray(spcshifttext);
mxDestroyArray(spcshift);
mxDestroyArray(spcTog);
mxDestroyArray(spcTaoText);
mxDestroyArray(spcTaoFixedText);
mxDestroyArray(spcTaoFixedBox);
mxDestroyArray(spcTaoBox);
mxDestroyArray(spcTaoAnsText);
mxDestroyArray(spcTaoAnsBox);
mxDestroyArray(spcSpectrumText);
mxDestroyArray(spcSpectrumBox);
mxDestroyArray(spcShiftNumText);
mxDestroyArray(spcShiftNumBox);
mxDestroyArray(spcRightEnd);
mxDestroyArray(spcResidPlot);
mxDestroyArray(spcResidGrid);
mxDestroyArray(spcPromptText);
mxDestroyArray(spcPromptBox);
mxDestroyArray(spcPlotMode);
mxDestroyArray(spcPlot);
mxDestroyArray(spcNumTaoText);
mxDestroyArray(spcNumTaoFixedText);
mxDestroyArray(spcNumTaoFixedBox);
mxDestroyArray(spcNumTaoBox);
mxDestroyArray(spcNumAllTaoText);
mxDestroyArray(spcNumAllTaoBox);
mxDestroyArray(spcMaxItText);
mxDestroyArray(spcMaxItBox);
mxDestroyArray(spcLeftEnd);
mxDestroyArray(spcIntSetAxes);
mxDestroyArray(spcIntPlot);
mxDestroyArray(spcInd);
mxDestroyArray(spcGlobalErrorText);
mxDestroyArray(spcGlobalErrorBox);
mxDestroyArray(spcGlobal);
mxDestroyArray(spcFitSave);
mxDestroyArray(spcFilenames);
mxDestroyArray(spcExciteText);
mxDestroyArray(spcExciteBox);
mxDestroyArray(spcErrorText);
mxDestroyArray(spcErrorBox);
mxDestroyArray(spcEmitText);
mxDestroyArray(spcEmitBox);
mxDestroyArray(spcDateText);
mxDestroyArray(spcDateBox);
mxDestroyArray(spcDataGrid);
mxDestroyArray(spcAmpAnsText);
mxDestroyArray(spcAmpAnsBox);
mxDestroyArray(spcAllTaoText);
mxDestroyArray(spcAllTaoBox);
mxDestroyArray(shiftGuess);
mxDestroyArray(shift);
mxDestroyArray(rightInt);
mxDestroyArray(revert);
mxDestroyArray(restoreName);
mxDestroyArray(restore);
mxDestroyArray(pulseWidth);
mxDestroyArray(plotbutton);
mxDestroyArray(plotMenu);
mxDestroyArray(plot3D);
mxDestroyArray(perform);
mxDestroyArray(pathname);
mxDestroyArray(paramsAns);
mxDestroyArray(optionsbutton);
mxDestroyArray(optionsMenu);
mxDestroyArray(numVecs);
mxDestroyArray(numTimePoints2);
mxDestroyArray(numTimePoints1);
mxDestroyArray(numTaoFixed);
mxDestroyArray(numTao);
mxDestroyArray(name);
mxDestroyArray(maxIt);
mxDestroyArray(mainWindow);
mxDestroyArray(leftInt);
mxDestroyArray(kineticsFile);
mxDestroyArray(irfFilenames);
mxDestroyArray(irf);
mxDestroyArray(horizRotBox);
mxDestroyArray(glob);
mxDestroyArray(fitmodel);
mxDestroyArray(fitconst);
mxDestroyArray(fitError);
mxDestroyArray(fit);
mxDestroyArray(fTol);
mxDestroyArray(expFile);
mxDestroyArray(excite);
mxDestroyArray(emit);
mxDestroyArray(dispvecguess);
mxDestroyArray(dispersionVector);
mxDestroyArray(dispersionStatus);
mxDestroyArray(disperCoeffs);
mxDestroyArray(date);
mxDestroyArray(dataMin);
mxDestroyArray(dataMax);
mxDestroyArray(dataIntervalStatus);
mxDestroyArray(dataFit);
mxDestroyArray(dataBackup);
mxDestroyArray(data);
mxDestroyArray(components);
mxDestroyArray(chisq);
mxDestroyArray(backupTypes);
mxDestroyArray(average);
mxDestroyArray(analysisType);
mxDestroyArray(amps);
mxDestroyArray(ampUpbutton);
mxDestroyArray(ampTextBox);
mxDestroyArray(ampSwitchbutton);
mxDestroyArray(ampSpecWindow);
mxDestroyArray(ampSpecPlot);
mxDestroyArray(ampSpecFile);
mxDestroyArray(ampPlotAll);
mxDestroyArray(ampInd);
mxDestroyArray(ampGrid);
mxDestroyArray(ampDownbutton);
mxDestroyArray(ampClosebutton);
mxDestroyArray(action3button);
mxDestroyArray(action2button);
mxDestroyArray(action1button);
mxDestroyArray(abstimelin);
mxDestroyArray(abstimeaxis);
mxDestroyArray(abscheckboxtext);
mxDestroyArray(abscheckbox3);
mxDestroyArray(abscheckbox2);
mxDestroyArray(abscheckbox1);
mxDestroyArray(absYTicks);
mxDestroyArray(absTog2);
mxDestroyArray(absTog1);
mxDestroyArray(absTaoText);
mxDestroyArray(absTaoFixedText);
mxDestroyArray(absTaoFixedBox);
mxDestroyArray(absTaoBox);
mxDestroyArray(absTaoAnsText);
mxDestroyArray(absTaoAnsBox);
mxDestroyArray(absShiftGuessText);
mxDestroyArray(absShiftGuessBox);
mxDestroyArray(absRightEnd2);
mxDestroyArray(absRightEnd1);
mxDestroyArray(absResidPlot2);
mxDestroyArray(absResidPlot1);
mxDestroyArray(absResidGrid2);
mxDestroyArray(absResidGrid1);
mxDestroyArray(absPulseWidthText);
mxDestroyArray(absPulseWidthBox);
mxDestroyArray(absPlotKinSpec);
mxDestroyArray(absPlot2);
mxDestroyArray(absPlot1);
mxDestroyArray(absNumTaoText);
mxDestroyArray(absNumTaoFixedText);
mxDestroyArray(absNumTaoFixedBox);
mxDestroyArray(absNumTaoBox);
mxDestroyArray(absNumAllTaoText);
mxDestroyArray(absNumAllTaoBox);
mxDestroyArray(absMaxItText);
mxDestroyArray(absMaxItBox);
mxDestroyArray(absLeftEnd2);
mxDestroyArray(absLeftEnd1);
mxDestroyArray(absIntSetAxes2);
mxDestroyArray(absIntSetAxes1);
mxDestroyArray(absIntPlot2);
mxDestroyArray(absIntPlot1);
mxDestroyArray(absInd2);
mxDestroyArray(absInd1);
mxDestroyArray(absFilename);
mxDestroyArray(absErrorText);
mxDestroyArray(absErrorBox);
mxDestroyArray(absDispersion);
mxDestroyArray(absDisperText);
mxDestroyArray(absDisperCoeffsText);
mxDestroyArray(absDisperCoeffsBox);
mxDestroyArray(absDisper3Hypertext);
mxDestroyArray(absDisper2Hypertext);
mxDestroyArray(absDisper1Hypertext);
mxDestroyArray(absDataGrid2);
mxDestroyArray(absDataGrid1);
mxDestroyArray(absCurrentWlText);
mxDestroyArray(absCurrentWlBox);
mxDestroyArray(absCurrentTimeText);
mxDestroyArray(absCurrentTimeBox);
mxDestroyArray(absAllTaoText);
mxDestroyArray(absAllTaoBox);
mxDestroyArray(absAbsorbText);
mxDestroyArray(absAbsorbBox);
mxDestroyArray(abs3dView);
mxDestroyArray(abs3dFig);
mxDestroyArray(abs3dAxes);
mxDestroyArray(V);
mxDestroyArray(U);
mxDestroyArray(S);
mxDestroyArray(OPT_STOP);
mxDestroyArray(OPT_STEP);
mxDestroyArray(OPTIONS);
mlfRestorePreviousContext(0, 0);
return 0;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -