- The Simulink blocks (source blocks) can be connected to Simscape diagram using Simulink-PS Converter and similarly, the Simscape diagram can be connected to Simulink block (sink block) using the PS-Simulink Converter. Please refer to the following documentation link on how to connect Simscape diagrams with Simulink blocks: https://www.mathworks.com/help/physmod/simscape/ug/connecting-simscape-diagrams-to-simulink-sources-and-scopes.html
- Another possible workaround is to connect two Simulink blocks using the “add_line” function. The “add_line” function can be used to add a line connecting one block’s input to another block’s output port from the command line. Please refer to the following documentation link for details regarding the “add_line” function: https://www.mathworks.com/help/simulink/slref/add_line.html
Connect Simulink equations with simscape filter: How?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
I built a low pass filter with electronic components using Simulink with the Simcsape library. I would like to use this as a box in Simulink, but I can't connect the contacts. Do you have an idea how I can connect this to my model?
1 comentario
Keerthana Ramesh
el 17 de Ag. de 2022
Editada: Keerthana Ramesh
el 17 de Ag. de 2022
Hi,
I hope the above information helps.
Thanks,
Keerthana
Respuestas (1)
Dallas Perkins
el 28 de Sept. de 2022
Hi Huseyin,
In addition to Keerthana's comment on PS-Simulink Converters and vice-versa, to provide a voltage reference into your circuit through a port you will want to use something like a Controlled Voltage Source, and to get an output measurement you will need to use one of the sensors from the Electrical Sensors library.
Best,
Dallas
0 comentarios
Ver también
Categorías
Más información sobre Electrical Sensors en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!