Can you "black box" a library?

9 visualizzazioni (ultimi 30 giorni)
Guy Squillace
Guy Squillace il 5 Apr 2019
Risposto: sanya gode il 29 Ott 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.

Risposta accettata

Fangjun Jiang
Fangjun Jiang il 5 Apr 2019
Instead of library, you can provide a Protected Models for Model Reference
  2 Commenti
Guy Squillace
Guy Squillace il 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 il 8 Apr 2019
1) Yes.
2) Yes. The effect is as if there is no input.

Accedi per commentare.

Più risposte (1)

sanya gode
sanya gode il 29 Ott 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.

Categorie

Scopri di più su Subsystems in Help Center e File Exchange

Prodotti


Release

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by