Updating plot title for a few hundred figure using a loop

2 vues (au cours des 30 derniers jours)
Haider Ibrahim
Haider Ibrahim le 5 Fév 2021
Hi, I have multiple figures for which I want to update my title from a variable (Datetime) in my workspace. Can you pleasehelp me figure it out.

Réponses (1)

Siddharth Bhutiya
Siddharth Bhutiya le 8 Fév 2021
You can convert your datetime variable into a string and pass it as an input to the title command
x = 1:10;
dt = datetime;

Community Treasure Hunt

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

Start Hunting!

Translated by