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. Please click here
To view all translated materials including this page, select Japan from the country navigator on the bottom of this page.


Install and register OPC Foundation Core Components


opcregister(..., '-silent')


opcregister installs the OPC Foundation Core Components so that OPC Toolbox™ software is able to communicate with OPC servers.

opcregister('repair') repairs an existing OPC Foundation Core Components installation. Use this option if you are experiencing problems querying hosts with the opcserverinfo function.

opcregister('remove') removes all OPC Foundation Core Components from your workstation. Use this option if you no longer wish to access any servers using OPC.

opcregister(..., '-silent') runs the selected option without prompting you for confirmation, and without showing any progress dialog. Note that your machine might be restarted without prompting you if you choose this option. If you are concerned about restarting your machine, do not use the '-silent' option.


You must clear any OPC Toolbox objects that you have previously created in this MATLAB® session before you can run opcregister. If you attempt to run opcregister and OPC Toolbox objects already exist, an error is generated. Use opcreset to clear objects from the MATLAB session.

OPC Foundation Core Components are redistributed under license from the OPC Foundation,

See Also

Introduced before R2006a

Was this topic helpful?