ENGLISH

MATLAB® Production Server™ RESTful API and JSON

Book information

Publisher
Inc., MathWorks
Year
2021
Language
english
Format
PDF
Filesize
1 MB (1102791 bytes)
Pages
\94
Time added
2021-12-09 05:40:57

Description

Client Programming RESTful API for MATLAB Function Execution Characteristics of RESTful API Synchronous Execution Example: Synchronous Execution of Magic Square Using RESTful API and JSON Asynchronous Execution Example: Asynchronous Execution of Magic Square Using RESTful API and JSON Manage HTTP Cookie RESTful API for Discovery and Diagnostics Characteristics of RESTful API Discovery Service Health Check Metrics Service MATLAB Function Signatures in JSON Function Objects Signature Objects Argument Objects Typedef Object JSON Representation of MATLAB Data Types JSON Representation of MATLAB Data Types Numeric Types: double, single and Integers Numeric Types: NaN, Inf, and -Inf Numeric Types: Complex Numbers Character Array Logical Cell Array Structure Array String Array Enumeration Datetime Array Empty Array: [] Troubleshooting RESTful API Errors Troubleshooting RESTful API Errors Structure of HTTP Error HTTP Status Codes Structure of MATLAB Error Access-Control-Allow-Origin Examples: RESTful API and JSON Web-Based Tool Using RESTful API, JSON, and JavaScript Step 1: Write MATLAB Code Step 2: Create a Deployable Archive with the Production Server Compiler App Step 3: Place the Deployable Archive on a Server Step 4: Enable Cross-Origin Resource Sharing (CORS) on the Server Step 5: Write JavaScript Code using the RESTful API and JSON Step 6: Embed JavaScript within HTML Code Step 7: Run Example RESTful APIs POST Synchronous Request POST Asynchronous Request GET Representation of Asynchronous Request GET Collection of Requests GET State Information GET Result of Request POST Cancel Request DELETE Request GET Discovery Information GET Server Health GET Metrics

Similar books