воскресенье, 10 февраля 2013 г.

сохранить файл в симулинке

© 1994-2013 The MathWorks, Inc.

Usage: Right click in the Simulink window, choose Model Properties|Callbacks. In 'PostSaveFcn' type 'UpdateCreateBusesFile' (this will run the script every time you save the Simulink file). In 'PostLoadFcn' type 'CreateBuses' (this will load the buses definition when you load the Simulink model).

If you update the Buses definition in the Bus Editor, the changes will not automatically be saved when saving the Simulink document. This script detects changes in the Buses definition, and asks if you want to save the new buses definition (unconditional save is not wise; if you did a 'clear all' or if you opened another Simulink model that also contains buses, you generally do not want to save!).

Automatically asks whether to save the Simulink Buses definition when saving Simulink file.

Save Simulink Buses definition file

Checks if Simulink buses (from the Bus editor) have changed. If so, ask

   Link Exchange

   File Exchange

Save Simulink Buses definition file - File Exchange - MATLAB Central

Комментариев нет:

Отправить комментарий