How to run .mcr code in matlab
显示 更早的评论
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 个评论
John D'Errico
2016-10-8
There are multiple kinds of file that may have a .mcr extension. Unless you tell which one it is, it will be difficult to give you help.
Daisy W
2016-10-8
Walter Roberson
2016-10-8
Please show us an extract of what the content looks like when you look at it.
.mcr is not an extension used by Mathworks.
回答(1 个)
Walter Roberson
2016-10-8
0 个投票
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
类别
在 帮助中心 和 File Exchange 中查找有关 MATLAB 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!