This is machine translation

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

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page. class


HTTP Location header field


A LocationField object contains the message uniform resource identifier (URI). The server adds a Location field to a response message to tell you to redirect messages to another URI. The meaning of this field depends on the status code of the response.


expand all

Header field name, specified as 'Location'.

URI, specified as a object or a string acceptable to the URI constructor.



Return Value of LocationField as object

Introduced in R2016b

Was this topic helpful?