How to write data to Confluence page using m-script?

30 views (last 30 days)
I need to automate writing data to Confluence page through matlab scripting.

Answers (1)

Lakshay Rose
Lakshay Rose on 13 Jun 2023
Hi Karthik,
As per my understanding you are trying to create a MATLAB script to automate the process of writing data to Confluence page. MATLAB provide a HTTP-interface for REST API Calls which would suit your use case. Assuming you already have your API token or username/password for accessing APIs of Confluence which you will need to authenticate requests.
You can follow the below steps –
  1. Create a MATLAB function to automate what data you want to enter using the HTTP-interface integration with MATLAB with functions such as “webread”, “webwrite”, “websave” and “weboptions”
  2. Call the above script with your authentication details and URL.
You can refer to the below documentation to learn more about HTTP-interface in MATLAB –

Categories

Find more on Get Started with MATLAB in Help Center and File Exchange

Products


Release

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!