How to run .mcr code in matlab

2 views (last 30 days)
Daisy W
Daisy W on 8 Oct 2016
Answered: Walter Roberson on 8 Oct 2016
I have a .mcr file but I don't know how to run it with Matlab. Any of your help will be greatly appreciated~The picture shows part of the code when I open it with Matlab.
  3 Comments
Daisy W
Daisy W on 8 Oct 2016
It is just a code made by matlab by someone else and I downloaded it from the internet. I can open it with matlab and see its content but I don't know how to run it. Thanks~
Walter Roberson
Walter Roberson on 8 Oct 2016
Please show us an extract of what the content looks like when you look at it.
.mcr is not an extension used by Mathworks.

Sign in to comment.

Answers (1)

Walter Roberson
Walter Roberson on 8 Oct 2016
The posted code is Visual Basic. The .mcr extension is used for "macro" files for Visual Basic.
For information about running Visual Basic code from MATLAB see http://undocumentedmatlab.com/blog/running-vb-code-in-matlab

Categories

Find more on Downloads in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!