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
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
Daisy W 2016 年 10 月 8 日
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 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
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 ExchangeMATLAB についてさらに検索

タグ

質問済み:

2016 年 10 月 8 日

回答済み:

2016 年 10 月 8 日

Community Treasure Hunt

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

Start Hunting!

Translated by