Borrar filtros
Borrar filtros

how to simulate a resistor?

5 visualizaciones (últimos 30 días)
mohsen aghazade
mohsen aghazade el 31 de En. de 2017
Comentada: mohsen aghazade el 3 de Feb. de 2017
ok so i want to build a matlab function block to do something(emulating a variable resistor and control quantity of that by a specific algorithm) and also i want to connect it to a PV array. it seems these two blocks (MATLAB function and PV array) wont connect to gather. any suggestion? also my plan B will be a variable resistor which its quantity determined by MATLAB function block. unfortunately there is not a variable resistor for PV array (SimPowerSystem). really need some suggestion and help.. tanx

Respuesta aceptada

Lucas Lebert
Lucas Lebert el 3 de Feb. de 2017
Hi Mohsen! Well, technically it depends which output/input signal you would like to connect to a MATLAB function block. Input Signals lr, T and the output signal m is a Simulink signal. Therefore you can connect it to a MATLAB function block. The other two ports (+ and -) are physical signals. These can only be connected to electrical connector port. The MATLAB function block does not have these kinds of ports. Regarding your question on how to implement a variable resistor I would like you to take a look at the following link: https://de.mathworks.com/matlabcentral/answers/92766-how-can-i-create-a-variable-resistor-for-use-in-simpowersystems
Have a great day,
Lucas
  1 comentario
mohsen aghazade
mohsen aghazade el 3 de Feb. de 2017
thank you so much. that was helpful

Iniciar sesión para comentar.

Más respuestas (0)

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by