deploypcode(source_dir, target_dir, varargin)
deploypcode(source_dir, target_dir, varargin)

deploypcode(source_​dir, target_dir, varargin)

DEPLOYPCODE recursively searches a directory for .m files, creating encrypted .p files with .m help

Scarica
Scarica

Al momento, stai seguendo questo contributo

Nota dell'editore: This file was selected as MATLAB Central Pick of the Week

Cita come

Sven (2026). deploypcode(source_dir, target_dir, varargin) (https://it.mathworks.com/matlabcentral/fileexchange/26919-deploypcode-source_dir-target_dir-varargin), MATLAB Central File Exchange. Recuperato .

Riconoscimenti

Ispirato da: genpath_exclude

Ispirato: Deploy pcoded Matlab Files

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.10.0

Under-the-hood directory parsing function changed in 2014b causing an error. This update makes sure it runs without error on both old and new versions.

Scarica
1.9.0

Minor change: used an onCleanup() object to return to the correct path. More error-safe.

Scarica
1.7.0

Sorry - fixed some typos in the description

Scarica
1.6.0

Missed an update from Andrea: wrapping the pcode() call in a try-catch to avoid dying on poorly formatted m-files.

Scarica
1.5.0

Added two very useful addition to direct copy (.dll and mex), much thanks to Andrea Vaccaro for his suggestions!

Scarica
1.4.0

Added 'copyDirectStrings' parameter to allow direct copy of chosen files as per DBSs request

Scarica
1.3.0

Added a "flattenTreeFile = false" option, as requested by Greg

Scarica
1.2.0

Added "updateOnly" functionality and improved the "p-file is older than m-file" issue generated when a class function file is p-coded.

Scarica
1.1.0

Added .m help-file deployment, and rewrote to remove dependency on genpath_recurse thus improve speed.

Scarica
1.0.0

Scarica