Skip to content

Latest commit

 

History

History

publishing-tool

Publishing App and Commands for MATLAB® live scripts

wp_publisher.mlapp

This app provides a UI for configuring your Settings and publishing your Live Script.

See top-level README for details on setting up and using this app.

wp_generate.m

This command will generate the text and media files from the live script.

You can use this script to extract the Live Script content without sending it to WordPress afterward.

  • wp_generate - If there is only 1 MLX file in the current directory, it will be converted.
  • wp_generate script.mlx - Convert the live script that is the first input.
  • wp_generate script.mlx show - Convert the script, then open the generated html in a web browser without posting to WordPress. (Note: Do not publish after using the 'show' option.)

wp_publish.m

This command will publish the files created by wp_generate.

  • wp_publish - If there is only 1 MLX file in the current directory, it will publish content for that script.
  • wp_publish script.mlx - Publish script.mlx any generated content for that script.
  • wp_publish('script.mlx', true) - Also publish the .mlx file as a download option.