Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Subsystem Parameter does not initialize
Replies: 1   Last Post: Sep 6, 2012 9:47 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Jk

Posts: 5
Registered: 5/30/12
Subsystem Parameter does not initialize
Posted: Sep 6, 2012 5:49 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hi,

I created a masked subsystem, and under the Edit Mask dialog I created a few parameters and then initialized them to some values in the initialization pane such as:

block_type='NewTile';
eval_real = 'off';

My problem is that whenever I instantiate this block in a model all these mask parameters have their initialization values except for the 'block_type' parameter. Which is always 0.
I don't want this parameter to user editable, in other words I want it to remain at the initialization value. Any ideas on what I'm doing wrong?



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.