Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

matlab.net.ArrayFormat class

Package: matlab.net

Convert arrays in HTTP queries

Description

Use an ArrayFormat enumeration with the matlab.net.QueryParameter class to control the format used to convert query values representing multiple values.

Enumeration Member NameDescription
csv

Format that generates a comma-separated list, such as parm=1,2,3

json

Format that generates a JSON-like array, such as parm=[1,2,3]

php

Format that generates a name with brackets and multiple values, such as parm[]=1&[]=2&[]=3

repeating

Format that generates repeating name/value pairs, such as parm=1&=2&=3

A query value is considered to contain multiple values when it is one of the following:

  • Nonscalar number, string, logical, or datetime (Each element is a value.)

  • m-by-n character array, where each row is interpreted as a string

  • Cell vector, where each element is a value

Query values, except for character arrays, with more than one dimension are not supported. In cell vectors, each element must be a scalar or character vector.

Attributes

Sealedtrue

Introduced in R2016b

Was this topic helpful?