why MATLAB on my PC hasn't embedded matlab function block in simulink?

operating system on my pc is windows 8 64 bit. I installed matlab 2014a 64bit, but hadn't ''embedded matlab function'' block in simulink .after, uninstalled it and install matlab 2014a 32bit. but it hasn't it too. what should I do???? help me please.

 採用された回答

Walter Roberson
Walter Roberson 2015 年 11 月 23 日

0 投票

"Embedded MATLAB function block" was renamed to "MATLAB Function Block" without the word "embedded"

その他の回答 (1 件)

saeede soleymani
saeede soleymani 2015 年 11 月 27 日

0 投票

I worked so much with matlab function block for my project. It has many problems. I asked it from another person and said you should work with ''interpreted matlab function'' block.

5 件のコメント

Walter Roberson
Walter Roberson 2015 年 11 月 27 日
Speaking relative to older releases,
"Actually, the MATLAB Function block has been renamed to Interpreted MATLAB Function block; and the Embedded MATLAB Function block has been renamed to MATLAB Function block."
Looking at http://www.mathworks.com/help/simulink/slref/matlabfunction.html you can see that what is now known as MATLAB Function Block can be used in circumstances where you might want to generate C code for use on a target system -- but it is also used for Rapid Accelerator mode if I understand correctly.
An Interpreted MATLAB Function block is basically a call to a MATLAB function, with all the facilities of MATLAB available. However, those blocks cannot be accelerated or converted to C or C++ code.
If you are designing code to be deployed to a controller (as mentioned in your other Questions) then you should be working with what is now known as MATLAB Function Block.
saeede soleymani
saeede soleymani 2015 年 11 月 29 日
dear Mr Roberson, your opinion is correct exactly and embedded matlab function changes name to matlab function block from version R2012b . I saw this in one of the question and answer of mathwork team.
but I do this : install MATLAB 2010b and has embedded matlab function!!! I couldn't work with matlab function at all.... thanks so much for your replies.
Walter Roberson
Walter Roberson 2015 年 11 月 30 日
That article was incorrect; the change to the name of Embedded MATLAB Function was in R2011a. However, it should exist in R2010b.
What difficulty are you encountering with it, and why not use a newer version with the new name?
saeede soleymani
saeede soleymani 2015 年 12 月 1 日
dear Mr Roberson, you help me so much. all of my questions answered by you and have a extensive knowledge about MATLAB. I write a code for inverted pendulum control. I simulate pendulum with simmechanics and want control it with a code. code run in embedded matlab function with some problems that I can't solve yet, but the same code doesn't work in matlab function!! I think matlab function is too difficult than emf block or so advanced and complex.
Walter Roberson
Walter Roberson 2015 年 12 月 1 日
Please describe the problems you are encountering.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File Exchange で Simulink についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by