How can you convert a simscape model into a custom block

1 Ansicht (letzte 30 Tage)
I am attempting to use simscape to create a differential Hodgkin-Huxley model of a neuron. I have created the model of the Na ion pump as its own circuit and I want to turn that model into simscape/simulink block that I can attach to other simscape elements. Currently the model has scopes and converter blocks attached to it. How do I need to modify these things generally to be able to plug in another block element? How can I then save this model?

Akzeptierte Antwort

Nicolas Schmit
Nicolas Schmit am 24 Apr. 2018
Create a subsystem from your model as you would do with a regular Simulink model.

Weitere Antworten (0)


Find more on Creating Custom Components and Libraries 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!

Translated by