Ansys Learning Forum › Forums › Discuss Simulation › Platform › Download MATLAB toolbox AnsysAAS › Reply To: Download MATLAB toolbox AnsysAAS
December 11, 2017 at 1:41 pm
Ansys Employee
Here is the information you need:
Â
A small example has been posted last year on one AAS blog at http://www.ansys-blog.com/how-to-make-matlab-apps-for-ansys/ .
Â
Step by step details are provided in the KB2043289 (link also provided in the public blog) at https://support.ansys.com/AnsysCustomerPortal/en_us/Knowledge%20Resources/Solutions/FLUENT/2042389 .
Â
Â
The particular example in the blog shows how to retrieve information about the content of WB schematic. Any WB variable though will be retrieved in the same way:
Â
A small example has been posted last year on one AAS blog at http://www.ansys-blog.com/
Â
Step by step details are provided in the KB2043289 (link also provided in the public blog) at https://support.ansys.com/
Â
- The user has to start WB in aaS mode (details provided in the pdf in the solution)
- Initialize AAS in Matlab
- orb=initialize_orb();
- load_ansys_aas();
- Connect to WB from Matlab
- actwbserver(‘aaS_WbId.txt’)
- Create a variable in WB from Matlab (this is a structure that includes all the info in the Schematic)
- execwbcommand(‘systems=
GetAllSystems()’ ) - Retrieve the content of the WB variable in Matlab
- querywbvariable(‘systems’)
Â
The particular example in the blog shows how to retrieve information about the content of WB schematic. Any WB variable though will be retrieved in the same way:
- create the variable (either from WB or from Matalab)
- from Matlab query the content of the variable using its name