How can you convert a simscape model into a custom block

Hello,
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?

 Risposta accettata

Create a subsystem from your model as you would do with a regular Simulink model.

Più risposte (0)

Categorie

Scopri di più su Simscape Electrical in Centro assistenza e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by