How to install and run FEATool as headless Matlab scripts?

Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to install and run FEATool as headless Matlab scripts?

Submitted Questions
I'm trying to implement headless Matlab scripts calling FEATool functions without the GUI. I've been able to get the FEA tool app installed within Matlab but have been unable to obtain/install the FEATool toolbox that includes the full fledged openfoam scripts to call from outside the FEATool GUI (and also from outside the Matlab GUI).

For example the following command should run openfoam_export but is not found.

What is the correct way to install and run FEATool Multiphysics as headless Matlab m-script files?
Reply | Threaded
Open this post in threaded view
|

Re: How to install and run FEATool as headless Matlab scripts?

Precise Simulation
Administrator
In order oo use FEATool Multiphysics to run Matlab m-script simulation models with the FEATool Matlab API it must first be installed as a Matlab toolbox (with the FEATool_Multiphysics.mlappinstall file as described here https://featool.com/doc/quickstart#install_matlab).

Once installed as a Matlab toolbox, the API and FEATool Matlab function will be available on the Matlab CLI either by:

  (1) Starting the GUI toolbox from Matlab (and leaving the GUI in the background)

  (2) Adding the FEATool installation directory to the Matlab load paths using the command:

addpath(genpath('_path_to_featool_installation_directory_'))

You can find the path to your FEATool installation directory as the "App Path:" item in the "System Info..." of the "Help" menu in the FEATool GUI. Alternatively, this should be the same as the directory on your system containing the file "featool.p".