General > General Technical Chat
MATLAB/ Simulink modeling
(1/1)
Mamzi:
Hi Guys,

What is the difference between modeling a mathematical equation of an electrical circuit by using basic and commonly used blocks in Simulink vs modeling electrical circuits using electrical blocks from the Simulink library ? 

I am new to MATLAB and Simulink  ;).
Vovk_Z:
1. Your question sounds like a question: Is there a difference between two different models?

2. I don't remember: are there any electrical blocks in Simulink library, or they belong to other libraries? I guess Similink works only with pure noname "signals", but not with electrical values.
RoGeorge:
Probably none if you model correctly.

Slightly off-topic, for electric/electronic circuits, in practice everybody uses LTspice for simulations, or some other similar simulator, like PSpice, QUCS, TINA-TI, etc.  Matlab or Octave are rather rare in day to day EE work, those are used only for academic purposes or for uncharted research.  Otherwise an EE uses LTspice.
rstofer:
Search for Simscape Electrical for more information on electrical components for modeling.  Simulink uses math blocks for modeling.  Different products that are MATLAB add-ons.

The thing is, LTspice can't interface with an external device (like an Arduino) while implementing a control strategy in a simulation and it most certainly can not build a GUI interface for the simulation.

MATLAB is awesome!

Check out the Enigma machine simulation late in this video:

https://www.mathworks.com/videos/the-enigma-machine-and-matlab-107967.html
Navigation
Message Index
There was an error while thanking
Thanking...

Go to full version
Powered by SMFPacks Advanced Attachments Uploader Mod