Can you "black box" a library?

10 views (last 30 days)
Guy Squillace
Guy Squillace on 5 Apr 2019
Answered: sanya gode on 29 Oct 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.

Accepted Answer

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

Sign in to comment.

More Answers (1)

sanya gode
sanya gode on 29 Oct 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.

Products


Release

R2015b

Community Treasure Hunt

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

Start Hunting!