Migliorino Ubaldini (active 1548), known also as "Captain Mellerin," was an Italian military engineer working in Scotland. He designed new fortifications at the entrances of Edinburgh Castle, Dunbar Castle, and possibly the walled town of Leith.
During the war with England known as the Rough Wooing, on 5 February 1548 Regent Arran appointed Migliorino Ubaldini as supreme commander of all Scottish forces by land and sea. Ubaldini had been sent to Scotland by Henry II of France who called him a famous captain. Despite this, Marcus Merriman, a modern historian, found no recorded details of his previous career. Merriman linked Ubaldini's appointment in Scotland with Lord Methven's plea to Mary of Guise in December 1547 for a French captain who had intelligence to assiege and order artillery.
Two letters written by Ubaldini in 1548 to Mary of Guise survive. In 1548/9 he wrote two letters to the brother of Mary of Guise, the Duc d'Aumale, which note a French form of his name as; "Captain Mellerin."
At the same period, there was another Ubaldini in Scotland; Petruccio Ubaldini, who fought for English at Haddington. Other Italian engineers who worked in Scotland for the Scottish side during the Rough Wooings include Leone Strozzi, Piero Strozzi, and perhaps Giovanni Portinari, who Nicolas Throckmorton later recruited for English service because he already spoke Scots. Camillo Marini, younger brother of , worked on border fortifications in 1550 and 1551.
While the English were fortifying Haddington, in March 1548 Ubaldini was working to strengthen Edinburgh Castle. A lodging was found in the Royal Mile for the "Italiane devisar of the forte of the castle hill." Where Master John Hamilton of Milnburn had begun building a rampart in the previous year, Ubaldini commenced the construction of a renaissance style 'trace italienne' fortification in front of the castle on the present esplanade. Some of the timber and stone used was obtained from the woods and house of Alexander Crichton of Brunstane who had sided with England. His friend and ally Ninian Cockburn vowed it would never be finished, writing, "yon neu blak hous quhilk will nocht cum abof the erde."