Home Forums Developer forum API for Matlab

Tagged: , ,

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #3771
    NextFEM Admin
    Keymaster

    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())

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.