Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
If you update the Buses definition in the Simulink 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!).
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).
Zitieren als
Gijs van Oort (2026). Save Simulink Buses definition file (https://de.mathworks.com/matlabcentral/fileexchange/37114-save-simulink-buses-definition-file), MATLAB Central File Exchange. Abgerufen .
Allgemeine Informationen
- Version 1.4.0.0 (3,01 KB)
Kompatibilität der MATLAB-Version
- Kompatibel mit allen Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.4.0.0 | Bugfix (thanks to Ivan Smits for discovering it) |
||
| 1.3.0.0 | New version of the file, which includes better comparison of the bus definitions and a checkbox for showing all buses or differences only. |
||
| 1.0.0.0 |
