mfile2mlxfile4markup

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - CODING/DEVELOP
Introduced first in SolidGeometry 5.4, Creation date: 2024-07-16, Last change: 2025-09-15

Converts an Markup or publishable M file into an mlx live script

Description

The documentation database on Filemaker can create markup scripts for documentation purposes. These m-file scripts can be automatically converted to mlx files and exported as HTML files for the Matlab documentation system.

A good example is the m file "testmtomlxconversion.m" that can be converted into "testmtomlxconversion.mlx" and the published as html by this function mfile2mlxfile4markup.

Unfortunately, as of the current version (2024a), it is not possible to create the graphical output by executing the mlx script.
Therefore, this function is currently a 2-step function.
1) Call the mfile2mlxfile4markup function to create the live script.
2) Press the Run button MANUALLY.
3) Call the mfile2mlxfile4markup function again to create the HTML file with the output.

See Also:

Example Illustration

 missing image of mfile2mlxfile4markup(fname,,

Syntax

mfile2mlxfile4markup(fname,[,"force","help"])

Input Parameter

fname: matlab m-file within the search path
"force": if used, the mlx file will be overwritten anyway
"help": if used, the final html file is on TL's developer disk SGLIB_HELP_Structures/html/

Examples


mfile2mlxfile4markup('testmtomlxconversion') % 1st call for creating the mlx file
mfile2mlxfile4markup('testmtomlxconversion') % 2nd call to create the html file
mfile2mlxfile4markup VLFL_Toolbox_Intro
mfile2mlxfile4markup VLFL_Toolbox_Intro




Copyright 2024-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Last html export of this page out of FM database by TL: 2025-09-21