How to run Matlab code from excel vba macro.

The previous process defined on this site works fine when using windows 10 (See below). However, it does not work in windows 11. Is there a new method used for Windows 11?
Set MatLab = CreateObject("Matlab.Application")
MatLab.Execute (“PATH TO MATLAB.m”)

Answers (0)

Categories

Products

Release

R2022a

Tags

Asked:

on 17 Mar 2022

Commented:

on 20 Mar 2022

Community Treasure Hunt

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

Start Hunting!