Example of a simple Java method in COMSOL’s Application Builder (runs in trial, but not saveable):
The save restriction is enforced by a conditional check in COMSOL’s Java/C++ core. Attempting to save triggers a dialog: “Saving models is disabled in the trial version.” Sometimes users refer to the Java code written in the COMSOL Application Builder or the LiveLink™ for MATLAB scripting. In the trial version, you can write and run such code, but you cannot save the application or model that contains it. comsol trial code
// This runs but cannot be saved to an MPH file in trial mode public double[] solveHeatEquation() model.component("comp1").physics("ht").feature("ht1").run(); return model.result().numerical("peval1").getReal(); Example of a simple Java method in COMSOL’s
Archiver|Mobile|Dark room|Besavior Forum
2025-12-14 19:23 GMT+8 , Processed in 0.037432 second(s), 25 queries .
Powered by Besavior!
Copyright © 2001-2025.