configure server to use matlab runtime -凯发k8网页登录

main content

configure server to use matlab runtime

if you did not configure the matlab® web app server™ to use a version of matlab runtime during the setup process, you can do so using the command. however, before configuring the server to use a version of matlab runtime, verify that you have one installed.

note

matlab runtime starting from r2019b up until the most recent release is supported. you can use multiple versions of the matlab runtime with the server, but you cannot use a version that is newer than the version of the server you are using.

install matlab runtime

  1. download the matlab runtime installer from the mathworks® website or the matlab desktop.

    optionsteps
    mathworks website

    select the appropriate platform and release-specific installer from:

    matlab desktop

    at the matlab command prompt, type:

    (matlab compiler)

  2. install matlab runtime using the installer. for installation instructions, see install and configure matlab runtime (matlab compiler).

configure the server

to configure the server to use a version of matlab runtime:

  1. navigate to the command-line scripts folder.

    operating systemdefault location of command-line scripts

    windows® (administrator)

    c:\program files\matlab\matlab web app server\r2023a\script

    linux® (sudo)

    /usr/local/matlab/matlab_web_app_server/r2023a/script

    macos (sudo)

    /applications/matlab/matlab_web_app_server/r2023a/script

  2. execute the command with the add option and a path to the matlab runtime installation.

    webapps-runtime add 

related topics

    网站地图