Thank you for your interest in the tool. I recently realized that for some unknown reason the tool does not work for some mouses (like Lenovo mouse). Change your mouse to see if the tool works. If not, then these are possible sources of problem I can think of:
1- The tool must be launched AFTER you have an existing MATLAB session. Even if you don’t have MATLAB open it prompts you to launch MATLAB for you. So, to be safe open MATLAB first and then launch the tool.
2- MATLAB Automation Server must be enabled for the tool to work. It can automatically enable Automation Server for you by running the following command at your existing MATLAB command window:
If it does not do it for you (which I doubt), then run it manually.
3- The zoom functionality only works in the desktop tools that use Desktop code. By default, the command window, command history and the editor use this code. To make sure your command window is using Desktop code, go to MATLAB preferences (file -> Preferences -> Font -> Custom) and make sure in the list of Desktop Tool, Command Window is using Desktop Code
4- If it’s not working after you follow the steps above, then you probably don’t have the Microsoft Scripting Control installed on your machine. It’s almost always available on Windows machines by default, but to make sure you have it go to the following location
and look for msscript.ocx. If you don’t have it, you can easily download it directly from Microsoft and install it (http://www.microsoft.com/downloads/details.aspx?FamilyId=D7E31492-2595-49E6-8C02-1426FEC693AC).
If none of these resolve the issue, then try these commands to see if you get any errors:
%Get the current font size:
%Is the font PLAIN?
%Change the font size to 12
%Make it bold
Thanks Thierry Dalon for your comments.
This is now part of a more comprehensive tool that works in MATLAB Command window and Simulink dialogs as well: http://www.mathworks.com/matlabcentral/fileexchange/24017
Comments and Ratings on Hamid Satarboroujeni's Files