main content

enterprise deployment with matlab production server -凯发k8网页登录

run matlab® code on a server and access it using various clients

matlab production server™ lets you run matlab functions on a server and access them via client applications. you create applications in matlab, package them using the production server compiler app or the function in matlab compiler sdk™, and deploy them to the matlab production server. access deployed packages through client applications written in java®, .net, python®, c, or c using client-specific libraries, or through http/https requests using the restful api.

for information on how to write client applications using the restful api, java, .net, python, c, and c , see client programming (matlab production server).

apps

package matlab programs for deployment to matlab production server

functions

open a list of application deployment apps
create an archive for deployment to matlab production server or docker
options for building deployable archives
create microsoft excel add-in for matlab production server
options for building excel add-ins
compiler build results object
compile matlab functions for deployment
convert matlab data to json text using matlab production server json schema
convert a character vector or string in matlab production server json schema to matlab data
convert matlab data in a server request to json text using matlab production server json schema
convert json text from a server response to matlab data
create prometheus counter metric
create prometheus gauge metric

controller

create a persistence service controller object
start a persistence service and attach it to a matlab session
stop a persistence service and detach it from a matlab session
restart a persistence service and attach it to a matlab session
connect matlab session to persistence service that is already running
disconnect matlab session from persistence service that is already running
test whether the persistence service is reachable
version number for persistence provider

cache

connect to cache, or create a cache if it doesn't exist
return the number of bytes of storage used by value stored at each key
remove all keys and values from cache
write all locally modified keys to the persistence service
fetch values of keys from cache
get the value of a public cache property
determine if the cache contains specified keys
get all keys from cache
number of key-value pairs in the data cache
flush all local data to the persistence service
write key-value pairs to cache
remove keys from cache
store remote keys from cache locally or return locally stored keys

mutex

create a persistence service mutex
acquire advisory lock on persistence service mutex
check ownership of advisory lock on a persistence service mutex object
release advisory lock on persistence service mutex

objects

manage the life cycle of a persistence service in a matlab testing environment
represent cache concept in matlab code
represent a mat-file persistence service mutex
represent a redis persistence service mutex

topics

deployable archive creation


  • learn how to package a matlab function into a deployable archive for matlab production server.

  • package matlab applications into deployable archives from the command line using the mcc command.

matlab programming to support in-memory caching


  • set up the server to use redis™, start a persistence service, and create a data cache.

  • test application before deployment and cache data in application archives deployed to matlab production server.

matlab programming to support custom metrics


  • this example shows how to create custom prometheus® metrics on the server and retrieve them using the metrics service.

matlab programming guidelines


  • best practices for writing matlab code when deploying to matlab production server.

  • dealing with matlab functions that carry state.

  • how to include mex files when deploying matlab functions.

  • list of supported and unsupported matlab data types.

  • how to modify and redeploy matlab functions.

client applications

  • (matlab production server)
    define an interface, instantiate a static proxy object, and then call the deployed function.
  • (matlab production server)
    learn how to call a matlab function deployed to matlab production server from a c# application.
  • (matlab production server)
    learn how to call a matlab function deployed to matlab production server from a python application.
  • (matlab production server)
    learn how to call a matlab function deployed to matlab production server from a c application.

testing


  • test the integration code used by your client against matlab.

  • configure access to the routes file in the production server compiler app, then test matlab functions for deployment to matlab production server.

excel add-ins


  • learn how to create a deployable archive with excel® integration for matlab production server using a matlab function.

parallel computing


  • pass a cluster profile to a deployable archive that uses parallel computing toolbox™ or matlab parallel server™.

troubleshooting

testing


  • troubleshoot why matlab does not respond to web requests made from matlab to a local test server.

excel add-in


  • solution to .xla file not being generated.

  • solution to enable server configuration add-in.

  • solution to support variable number of outputs.
网站地图