spaceconcordia / rocketry-performance

2 stars 1 forks source link

Model Referencing - Cannot change param 'TreatAsAtomicUnit' #5

Closed SpaceShawn closed 8 years ago

SpaceShawn commented 8 years ago

Is it possible to do Model Referencing on Simulink libraries?

I've been following the instructions here: http://www.mathworks.com/videos/getting-started-with-model-referencing-68918.html http://www.mathworks.com/help/simulink/ug/creating-a-model-reference.html

Since I'm trying to test libraries, the workflow is a little bit different.

  1. Create model, drag my custom library into the model
  2. Right click the library system, 'Subsystem & Model Reference' -> 'Convert System To' -> 'Model Reference'
  3. Click convert.

I get stuck finally on this message when the conversion fails: Cannot change param 'TreatAsAtomicUnit' because 'rocket_thrust_data_test_model/Propulsion Input Data' is linked. The parameter can only be changed on the library block

SpaceShawn commented 8 years ago

A simpler method to do this was discovered. See the documentation -> matlab_conventions.md