Quantcast
Viewing all articles
Browse latest Browse all 23543

OpenSTAAD and matlab

Is it possible to access openstaad functions via matlab?

After opening the STAAD manually, I am running matlab script file with following commands to instantiate the openstaad object but I am not able to access any functions of this class:

staad1=actxGetRunningServer('STAADpro.OpenSTAAD');
staad1.Quit;

The first line successfully creates the openstaad object(which I can see in the MATLAB workspace) but the second line gives the following error:

No appropriate method, property, or field 'Quit' for class 'COM.STAADpro_OpenSTAAD'.

This error is obtained for all commands of the format:

staad1.<function name>

Kindly help me on this.


Viewing all articles
Browse latest Browse all 23543

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>