Repository navigation
Ábaco 0.3.0 lee y escribe los ficheros de MATLAB y Simulink (.mat en todos sus niveles, .m, .mdl y .slx), todo con código propio en Rust, y suma funciones de MATLAB.
Ábaco 0.3.0 reads and writes MATLAB and Simulink files (.mat at every level, .m, .mdl and .slx), all with its own Rust code, and adds MATLAB functions.
Important
Ábaco sigue en una fase temprana. Ningún fichero .slx escrito por Ábaco se ha abierto en MATLAB o Simulink, que no están disponibles aquí: se ha comprobado con SciPy, h5py y con ciclos de ida y vuelta, no con el programa original. Nada de lo que calcula está validado para usos críticos.
Ábaco is still at an early stage. No .slx file written by Ábaco has been opened in MATLAB or Simulink, which are not available here: it was checked against SciPy, h5py and round trips, not against the original program. Nothing it computes is validated for critical use.
Español
Novedades
- Ficheros MAT:
abaco-formats, una biblioteca nueva que lee y escribe MAT de nivel 4, 5/6, 7 (comprimido) y 7.3 (HDF5), con DEFLATE, ZIP y HDF5 propios. Se ha comprobado en los dos sentidos con SciPy y h5py.saveescribe nivel 7 por defecto (-v4,-v6,-v7,-v7.3,-append,-nocompression) yloadreconoce los ficheros MAT por su firma o su extensión. El formato de texto anterior sigue disponible con la extensión.abd. - Simulink: lectura y escritura de
.mdly.slx, y conversión de y a Ábaco Blocks. Los parámetros pueden ser expresiones y variables de un MAT. La conversión es estricta: un bloque sin equivalente la detiene y se listan todos;--lenientlos descarta con un aviso por cada uno. La app abre.mdly.slxdesde Abrir y los exporta con Exportar como modelo de Simulink. - Línea de comandos:
abaco convert(.json,.mdly.slxen cualquier sentido, y.mata.maten otro nivel) yabaco simacepta modelos de Simulink (--vars,--lenient). - Ficheros
.m: una llamada a una función no definida buscanombre.men la carpeta actual y en la ruta de búsqueda; también los scripts (nombreorun). Nuevosaddpath,rmpath,pathypwd. - Funciones nuevas:
accumarray,gradient,conv2,perms,blkdiag,hankel,pascal,wilkinson,companyrealsqrt.
Notas
- Al guardar en MAT, los tipos que Ábaco Script no tiene se ensanchan a
doubleo se dejan fuera, siempre con un aviso: matrices de caracteres, vectores de estructuras, matrices dispersas, N-d y manejadores de función. Los enteros de más de 53 bits pierden precisión. Los MAT 7.3 se escriben sin comprimir y con las variables en orden alfabético. - No se convierten subsistemas disparados, habilitados o de acción, enlaces a bibliotecas, Stateflow ni Simscape.
- Faltan deshacer y rehacer en la app, exportar figuras y el cálculo simbólico.
English
What's new
- MAT-files:
abaco-formats, a new library that reads and writes MAT level 4, 5/6, 7 (compressed) and 7.3 (HDF5), with its own DEFLATE, ZIP and HDF5. Checked in both directions against SciPy and h5py.savewrites level 7 by default (-v4,-v6,-v7,-v7.3,-append,-nocompression) andloadrecognises MAT-files by signature or extension. The earlier text format remains available with the.abdextension. - Simulink: reading and writing
.mdland.slx, and conversion to and from Ábaco Blocks. Parameters can be expressions and variables from a MAT-file. Conversion is strict: a block with no equivalent stops it and every one is listed;--lenientdrops them with a warning each. The app opens.mdland.slxfrom Open and exports with Export as a Simulink model. - Command line:
abaco convert(.json,.mdland.slxin any direction, and.matto.matat another level) andabaco simaccepts Simulink models (--vars,--lenient). .mfiles: a call to an undefined function looks forname.min the current folder and on the search path; scripts too (nameorrun). Newaddpath,rmpath,pathandpwd.- New functions:
accumarray,gradient,conv2,perms,blkdiag,hankel,pascal,wilkinson,companandrealsqrt.
Notes
- Saving to MAT widens the types Ábaco Script lacks to
doubleor leaves them out, always with a warning: character matrices, struct arrays, sparse matrices, N-d arrays and function handles. Integers wider than 53 bits lose precision. MAT 7.3 files are written uncompressed with variables in alphabetical order. - Triggered, enabled and action subsystems, library links, Stateflow and Simscape are not converted.
- Missing: undo and redo in the app, figure export and symbolic computation.
Descargas · Downloads
| Sistema · System | Archivo · File |
|---|---|
| macOS (Apple Silicon e Intel) | abaco-0.3.0-macos-universal.dmg |
| macOS · línea de comandos / CLI | abaco-cli-0.3.0-macos-universal.zip |
| Windows x64 | abaco-0.3.0-windows-x64.msi · abaco-0.3.0-windows-x64-portable.zip |
| Linux x86_64 · AppImage | abaco-0.3.0-linux-x86_64.AppImage |
| Debian, Ubuntu | abaco-0.3.0-linux-x86_64.deb |
| Fedora, openSUSE | abaco-0.3.0-linux-x86_64.rpm |
| Linux x86_64 · tar.gz | abaco-0.3.0-linux-x86_64.tar.gz |
- AppImage:
chmod +x abaco-0.3.0-linux-x86_64.AppImagey ábrela · then run it. - Sumas SHA-256 en
SHA256SUMS,SHA256SUMS-macosySHA256SUMS-windows.