Simulation of XPN models
Versione 1.0.0 (34,9 KB) da
Mildreth Alcaraz-Mejia
A set of m-functions and Simulink model to convert XPN models from PNML files to Matlab matrices and simulate it.
This package contain 4 files:
MfromPNML.m is a function to convert an eXtended Petri net (XPN) model saved as Petri Net Markup Language format (PNML file) into Matlab matrices. xml2struct.m function is used.
Sched_PTOrdered_v20220824.slx is a Simulink model that uses the matrices representing the XPN model to simulate.
XPN.m is a function that creates the dynamics of the model used in the XPN block of the Simulink Model in previous file.
Example_XPN.pnml is a file with a XPN model to be used as an example to run the complete simulation process, including the conversion.
Cita come
M. Alcaraz-Mejia, A. Parres-Peredo, I. Piza-Davila, L.F. Gutierrez-Preciado (2023). Simulation of XPN models (https://www.mathworks.com/matlabcentral/fileexchange/<...>), MATLAB Central File Exchange. Retrieved January 23, 2023.
Compatibilità della release di MATLAB
Creato con
R2022a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxTag
Riconoscimenti
Ispirato da: xml2struct
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0 |