Author Topic: MATLAB/ Simulink modeling  (Read 672 times)

0 Members and 1 Guest are viewing this topic.

Offline MamziTopic starter

  • Newbie
  • Posts: 1
  • Country: us
MATLAB/ Simulink modeling
« on: June 07, 2022, 09:02:59 pm »
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  ;).
 

Offline Vovk_Z

  • Super Contributor
  • ***
  • Posts: 1478
  • Country: ua
Re: MATLAB/ Simulink modeling
« Reply #1 on: June 11, 2022, 12:22:13 am »
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.
« Last Edit: June 11, 2022, 12:40:40 am by Vovk_Z »
 

Offline RoGeorge

  • Super Contributor
  • ***
  • Posts: 7012
  • Country: ro
Re: MATLAB/ Simulink modeling
« Reply #2 on: June 11, 2022, 09:18:35 am »
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.

Online rstofer

  • Super Contributor
  • ***
  • Posts: 9964
  • Country: us
Re: MATLAB/ Simulink modeling
« Reply #3 on: June 12, 2022, 05:45:57 pm »
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
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf