motohawk_upgrade_L9780

The motohawk_upgrade_L9780 M-script converts a MotoHawk™ model containing the WideBand O2 L9780 Bolt-On blockset, to a model using native MotoHawk blocks. The native blocks are available from MotoHawk version 2017a.

motohawk_upgrade_L9780(System, [FollowLinks, 'on/off'], [PromptMode, 'on/off'])

System

This upgrade script operates on the provided system (or bdroot if not provided) and replaces references of the old block with the MotoHawk proper counterpart.

The script will also check linked libraries for instances of the old block. If any of these blocks are found, the user is prompted whether or not it would be appropriate to update the found linked library.
To disable updating of linked libraries, 'FollowLinks' can be set 'off.' Note that if any optional arguments are passed, the system to operate on must be provided.

PromptMode

To globally approve updating of linked libraries, set 'PromptMode' to 'off'. Default is 'on'.