Can you "black box" a library?

3 Ansichten (letzte 30 Tage)
Guy Squillace
Guy Squillace am 5 Apr. 2019
Beantwortet: sanya gode am 29 Okt. 2019
I am creating a library block for a customer which will be put into their sim. Is there a way to "black box" my block so that they only see the inputs and outputs? I am currently using 2015b, but 2018b is also an option.

Akzeptierte Antwort

Fangjun Jiang
Fangjun Jiang am 5 Apr. 2019
Instead of library, you can provide a Protected Models for Model Reference
  2 Kommentare
Guy Squillace
Guy Squillace am 8 Apr. 2019
I have a couple questions about protected models.
1) Can you put a protected model into another model?
2) Can you create a protected model if the inputs to a subsystem are not connected to anything?
Fangjun Jiang
Fangjun Jiang am 8 Apr. 2019
1) Yes.
2) Yes. The effect is as if there is no input.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (1)

sanya gode
sanya gode am 29 Okt. 2019
Hello,
I am working on Equivalent Circuit Modeling for estimating the battery parametrs. I read in MAthworks documentation that the model can be Blackboxed for sharing with certain customers so that they can modeify it accourding o the application for which they are using the battery without knowing the internal parameters. I read that once the model is created we need to generate the code and than we have to create a new simulink block based on the generated code.
Can you please elaborate on how exactly do we need to blackbox the model based on the generated code ?
Your answers will be very helpful and appreciated.
Thanks in advance.

Kategorien

Mehr zu Programmatic Model Editing finden Sie in Help Center und File Exchange

Produkte


Version

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by