Skip to content

Ábaco 0.3.0

Latest

Choose a tag to compare

@github-actions github-actions released this 27 Nov 16:00
1af5ed0

Á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. save escribe nivel 7 por defecto (-v4, -v6, -v7, -v7.3, -append, -nocompression) y load reconoce 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 .mdl y .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; --lenient los descarta con un aviso por cada uno. La app abre .mdl y .slx desde Abrir y los exporta con Exportar como modelo de Simulink.
  • Línea de comandos: abaco convert (.json, .mdl y .slx en cualquier sentido, y .mat a .mat en otro nivel) y abaco sim acepta modelos de Simulink (--vars, --lenient).
  • Ficheros .m: una llamada a una función no definida busca nombre.m en la carpeta actual y en la ruta de búsqueda; también los scripts (nombre o run). Nuevos addpath, rmpath, path y pwd.
  • Funciones nuevas: accumarray, gradient, conv2, perms, blkdiag, hankel, pascal, wilkinson, compan y realsqrt.

Notas

  • Al guardar en MAT, los tipos que Ábaco Script no tiene se ensanchan a double o 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. save writes level 7 by default (-v4, -v6, -v7, -v7.3, -append, -nocompression) and load recognises MAT-files by signature or extension. The earlier text format remains available with the .abd extension.
  • Simulink: reading and writing .mdl and .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; --lenient drops them with a warning each. The app opens .mdl and .slx from Open and exports with Export as a Simulink model.
  • Command line: abaco convert (.json, .mdl and .slx in any direction, and .mat to .mat at another level) and abaco sim accepts Simulink models (--vars, --lenient).
  • .m files: a call to an undefined function looks for name.m in the current folder and on the search path; scripts too (name or run). New addpath, rmpath, path and pwd.
  • New functions: accumarray, gradient, conv2, perms, blkdiag, hankel, pascal, wilkinson, compan and realsqrt.

Notes

  • Saving to MAT widens the types Ábaco Script lacks to double or 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.AppImage y ábrela · then run it.
  • Sumas SHA-256 en SHA256SUMS, SHA256SUMS-macos y SHA256SUMS-windows.