Compare MATLAB and SIMULINK?
Show older comments
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 Comments
Sagar Shriram Salwe
on 30 Aug 2018
The Simulink approach is based on time based and multi rate system. SO that will be useful for HDL code generation. Whereas, MATLAB is for the mathematical based algorithm development and which will not consider the time while in simulation (independent of time). Simulink is graphical and more interactive to the user. Whereas the Matlab is coding based approach based on the different function available in Matlab.
Vikas Kumar
on 18 Jul 2019
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
on 18 Jul 2019
Which ode*() routine did you use in MATLAB, and which solver did you configure in Simulink?
Accepted Answer
More Answers (3)
Azzi Abdelmalek
on 26 Jan 2014
Edited: Azzi Abdelmalek
on 26 Jan 2014
2 votes
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 Comments
Rageeni sah
on 26 Jan 2014
Azzi Abdelmalek
on 26 Jan 2014
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
on 11 Mar 2022
0 votes
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.
Jayesh Patil
on 13 Dec 2024
0 votes
i think so matlab is coding language and simulink is boxestype something....
1 Comment
DGM
on 13 Dec 2024
I do agree that Simulink is something.
Categories
Find more on General Applications in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!