image thumbnail

MdlInfo: Windows Explorer tooltips for Simulink MDL files

version 1.0.0.1 (73.2 KB) by Malcolm Wood
Shell extension describing an MDL file's contents (created using Real-Time Workshop and Stateflow)

1.4K Downloads

Updated 01 Sep 2016

View License

By default, the tooltip which is shown in Windows Explorer when you hold the mouse over an MDL-file icon says only "Simulink Model File". This is misleading in the case where the MDL file contains a Simulink Library. With this shell extension, the Windows Explorer distinguishes between these two types of file and also includes the Description field, if the file includes one.
The code to extract the description from an MDL file has been generated from a Stateflow chart using the Real-Time Workshop. The model containing the chart is included.

Source code is provided, including a Visual Studio 2005 project. Some header files from the Real-Time Workshop installation are required, and it may be necessary to edit the project file if your MATLAB installation is in a different location from mine. It has been tested on Windows XP, using Microsoft Visual Studio 2005. At runtime, the extension is independent of MATLAB and Simulink.

This shell extension is based heavily on an example published in The Code Project's "Idiot's Guide to Writing Shell Extensions":
https://www.codeproject.com/Articles/441/The-Complete-Idiot-s-Guide-to-Writing-Shell-Extens

Also included in the ZIP file is the pre-compiled DLL, MdlInfo.dll. To use this without compiling it yourself, copy it to a permanent location on your machine and run the DOS command: "regsvr32 MdlInfo.dll" in the directory containing the DLL.

To uninstall the extension run "regsvr32 /U MdlInfo.dll".

Cite As

Malcolm Wood (2021). MdlInfo: Windows Explorer tooltips for Simulink MDL files (https://www.mathworks.com/matlabcentral/fileexchange/18942-mdlinfo-windows-explorer-tooltips-for-simulink-mdl-files), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

sfparse/