Main >>Product >> Programming >> QuickField and MATLAB
It is often required to perform the Finite Element Analysis (FEA) with MATLAB. Combined use of QuickField with MATLAB is an efficient alternative to the full-scale FEM programming in MATLAB. This approach provides you with rich set of MATLAB features complimented by fast and powerful QuickField FEA engine.
MATLAB is able to serve as COM-client (on Windows platform only) as described in "MATLAB COM Client Support" section of the MATLAB help. No special action required to let MATLAB know about QuickField type library. The only thing you need to do before writing the MATLAB code is switching working directory to the folder where your code is located.
Each MATLAB variable can hold a handle to a COM object. The handle can be obtained by two ways:
QuickField provides only one object that should be created directly: the Application object. Each program using QuickField should create a single Application object as following:
QF = actxserver ('QuickField.Application');
All other QuickField objects are accessible by properties of Application or other objects. E.g. the main window of QuickField can be obtained by the MainWindow property of the Application object:
mainWnd = QF.MainWindow;
Examples on using QuickField with MATLAB:
Relay dynamics simulation using MATLAB and QuickField API.