- This topic has 0 replies, 1 voice, and was last updated 4 years, 6 months ago by .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
Home › Forums › Developer forum › API for Matlab
Load API in Matlab dinamically with this code:
% find NextFEM Designer installation
APIpath = strtrim ( replace(winqueryreg(‘HKEY_LOCAL_MACHINE’,’SOFTWARE\Classes\nxf\shell\open\command’,”),’Designer64.exe “%l”‘,”) );
disp(‘Installation found in ‘ + convertCharsToStrings(APIpath));
% load NextFEM API
NET.addAssembly(strcat(APIpath , ‘NextFEMapi.dll’));
NF=NextFEMapi.API;
disp(“NextFEM API version ” + NF.getVersion())
