deployTL

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - User interface
Introduced first in SolidGeometry 1.0, Creation date: 2012-11-27, Last change: 2025-08-19

Procedure that explains how to install the application deployment tools

Example Illustration

 missing image of deployTL

Syntax

deployTL




Copyright 2012-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

Algorithm (Workflow)

This MATLAB function, deployTL, is designed to assist users in troubleshooting issues with the deploytool on a Mac OS X system. The function performs a series of checks and setups to ensure that the necessary tools and patches are correctly installed and configured.

Steps and Actions

  1. Check Xcode Version:

    The function begins by checking the installed version of Xcode on the system using the command !xcodebuild -version. This is crucial because the correct version of Xcode is required for MATLAB to function properly on Mac OS X.

  2. Open MATLAB Support Page:

    It then opens a web page that provides information about the required Xcode version for MATLAB. This is done using the web function with the URL 'http://www.mathworks.de/support/solutions/en/data/1-FR6LXJ/'.

  3. Execute Patch File:

    The function navigates to the MATLAB root directory and executes a patch file located on the desktop. This is done using the command !unzip -o /Users/timlueth/Desktop/optsPatch_MACOSX7.patch.

  4. Show MEX Extension:

    It displays the MEX file extension for the current computer using the mexext command. This helps in identifying the correct file extensions for compiled MATLAB files.

  5. Setup MEX and MBUILD:

    The function prompts the user to set up MEX and MBUILD using the commands mex -setup and mbuild -setup. These setups are necessary for compiling C/C++ code with MATLAB.

  6. Documentation on Mac Applications:

    It opens the MATLAB documentation page for running 64-bit Mac applications using the doc command.

  7. Open Launcher Bug Page:

    The function opens a web page that addresses a known launcher bug in MATLAB using the URL 'http://www.mathworks.de/support/solutions/en/data/1-KFHOJH/index.html?solution=1-KFHOJH'.

  8. Install Launcher Bug Patch:

    It installs a patch for the launcher bug by unzipping a patch file located on the desktop using the command !unzip -o /Users/timlueth/Desktop/R2012b_LauncherFix.patch.

  9. Set Access Rights:

    Finally, the function sets the access rights for the launcher and prelaunch files in the maci64 directory using the chmod 775 command. This ensures that the necessary permissions are granted for these files to execute properly.

Algorithm explaination created using ChatGPT on 2025-08-19 07:59. (Please note: No guarantee for the correctness of this explanation)

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