Hi Steve,
The GUI interface to the block will not change from what you've done
unless the mask script dynamically redraws the ports. This may be the
case, depending on the block. If not, then deleting & readding the
block won't do anything to update the ports. You'll have to unlock
the "bee_xps" library in the Simulink browser & replace the GUI for
the block as well.
-Suraj
On May 12, 2010, at 7:57 AM, Steve Maher wrote:
Hi,
I am trying to install some upgraded yellow blocks (sent to me) that
have new ports but I still see the old blocks in the model editor
after the upgrade
I did the following:
Deleted the @<block name> and <block name>_mask.m directory/file in
xps_library and replaced with the new versions
Deleted the <block name> directory in xps_lib/pcores and replace
with the new version
Afterward, the model editor still shows the older version (without
the new ports). I suspect this is because xps_library/
xps_library.mdl contains old information.
I could not find a way to "rebuild" the xps_library model. I also
tried deleting and adding the block, but I didn't find a way to do
this either in the GUI (the "add_block" programmatic function was
all I could find and that didn't seem right).
Regards,
Steve