MdlInfo: Windows Explorer tooltips for Simulink MDL files
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".
引用
Malcolm Wood (2024). 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. 取得済み .
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxタグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!