Compare MATLAB and SIMULINK?

119 ビュー (過去 30 日間)
Rageeni sah
Rageeni sah 2014 年 1 月 26 日
回答済み: Benjamin Thompson 2022 年 3 月 11 日
Hello Everyone,
I am an BE student. Till now I have used mat-lab just to run small codes. Now I want to do my final year project using matlab. but I am little confused about the use of matlab and simulink. My Question is:What is the major difference between MATLAB coder and SIMULINK coder and where are they specifically used ?
  3 件のコメント
Vikas Kumar
Vikas Kumar 2019 年 7 月 18 日
I got the results from M-file and simulink block. Both are very different. Is this possible to get different answer from both ways? If yes, Tel me how can find the same answer
Walter Roberson
Walter Roberson 2019 年 7 月 18 日
Which ode*() routine did you use in MATLAB, and which solver did you configure in Simulink?

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

採用された回答

Mischa Kim
Mischa Kim 2014 年 1 月 26 日
編集済み: Mischa Kim 2014 年 1 月 26 日
Hello Rageeni, are you asking about the difference between MATLAB and Simulink or the coders?
In general, if you need to generate C/C++ code from MATLAB you need the MATLAB coder. To generate C/C++ code from Simulink and Stateflow models you need in addition the Simulink coder. For detailed information check out http://www.mathworks.com/products/matlab-coder/description1.html and the corresponding Simulink coder web site.
  1 件のコメント
Rageeni sah
Rageeni sah 2014 年 1 月 26 日
I want to know differences between matlab and simulink with/in all aspects??? (eg. in tems of speed,efficiency,criteria, etc.)

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

その他の回答 (2 件)

Azzi Abdelmalek
Azzi Abdelmalek 2014 年 1 月 26 日
編集済み: Azzi Abdelmalek 2014 年 1 月 26 日
There is no comparison between Matlab and Simulink, because Simulink is one of many tools that are provided with Matlab. When you by Matlab you can by it with or without those tools.
Simulink, makes simulations easier to achieve, by using blocks that correspond to codes you don't see. With simulink, the model of the system you want to simulate is more readable, because it's represented by graphics.
You can use Matlab to simulate a system, but you have to program your own routines added to the ones that are provided by matlab.
  2 件のコメント
Rageeni sah
Rageeni sah 2014 年 1 月 26 日
Then what is the use of other tools if matlab itself is so self-efficient??
Azzi Abdelmalek
Azzi Abdelmalek 2014 年 1 月 26 日
Each tool has its use. I can't tell you in one phrase the use of tens of tools provided with Matlab. They concern many fields (Electronics, Automatic control, Statistics,compilation, data acquisition, ...)

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


Benjamin Thompson
Benjamin Thompson 2022 年 3 月 11 日
Adding to previous answers on this, and updating for changes in the Mathworks product offerings:
Simulink diagrams can server as design documentation, possibly more effectively than MATLAB code listings. You can even use the print frame options to give the model diagram printouts a more official engineering drawing look.
With the release of Simulink Compiler and the Mathworks efforts on integrating Simulink models with App Designer, Simulink Coder may no longer be necessary depending on your application requirements.

カテゴリ

Help Center および File ExchangeSimulink Coder についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by