Ciao,
Ho scritto uno script per generare automaticamente la tabella DOE. Come si chiude il DOE? Ho usato closeall (tabelle di dati) e non funzionerà. Grazie
Grazie Cameron. Funziona bene ora.
Questo perché imposti obj uguale a una stringa. Prendi "obj =" fuori da lì e mettilo fuori dalle dichiarazioni di Eval (Parse ()) (es. Obj = Eval (Parse ("DOE (....)")))
Ciao,
Grazie. Lo script funziona bene con il tuo esempio. Ecco il mio script:
Eval(
Parse(
obj = "DOE(
Custom Design,
{
" || AddFactor ||
",
Set Random Seed( 1682521244 ),
Number of Starts( 1 ),
// Add Term( {1, 0} ), Add Term( {1, 1} ),
// Add Term( {2, 1} ), Add Term( {3, 1} ),
"
|| AddTerm ||
",
// Add Alias Term( {1, 1}, {2, 1} ),
// Add Alias Term( {1, 1}, {3, 1} ),
// Add Alias Term( {2, 1}, {3, 1} ),
"
|| AddAlias || "
" || SampleSize ||
", Simulate Responses( 0 ), Save X Matrix( 0 ), Make Design,Set Run Order(Randomize), Make Table}
);"
)
);
obj << Close window;
Ottengo un errore con Chiudi vedova. Apprezzo il tuo aiuto. Grazie.
Come si chiude la finestra del report della piattaforma DOE o il tavolo? Se la piattaforma, ecco un esempio:
doe_rprt = DOE(
Custom Design,
{Add Response( Maximize, "Y", ., ., . ),
Add Factor( Continuous, -1, 1, "X1", 0 ),
Add Factor( Continuous, -1, 1, "X2", 0 ),
Add Factor( Continuous, -1, 1, "X3", 0 ), Set Random Seed( 1366917127 ),
Number of Starts( 1 ), Add Term( {1, 0} ), Add Term( {1, 1} ),
Add Term( {2, 1} ), Add Term( {3, 1} ), Add Term( {1, 2} ),
Add Term( {1, 1}, {2, 1} ), Add Term( {2, 2} ), Add Term( {1, 1}, {3, 1} ),
Add Term( {2, 1}, {3, 1} ), Add Term( {3, 2} ), Set Sample Size( 64 ),
Optimality Criterion( 2 ), Make Design, Make Table}
);
doe_rprt << Close Window;