Can you "black box" a library?

3 次查看(过去 30 天)
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.

采纳的回答

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

请先登录,再进行评论。

更多回答(1 个)

sanya gode
sanya gode 2019-10-29
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.

类别

Help CenterFile Exchange 中查找有关 Programmatic Model Editing 的更多信息

产品


版本

R2015b

Community Treasure Hunt

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

Start Hunting!

Translated by