ptvlab 安装过程

基于MATLAB 开发PTVlab GUI
WINDOWS10、MATLAB R2019A、PTVlab
按照说明安装,第三步不会
正确安装可运行

下附下载文件的安装设置流程:
MATLAB Deployment Checklist
===========================

Use this checklist to successfully deploy your application, component,
or library.

You can distribute a MATLAB Compiler-generated standalone application,
component, or library to any target machine with the same operating
system as the machine on which the application was compiled
(the "source" development machine).

For more information, see the documentation for the MATLAB Compiler at:
http://www.mathworks.com/access/helpdesk/help/toolbox/compiler/

NOTE: Replace the items enclosed in angle brackets ( < > ) with your own
values.

  1. Ensure that the MATLAB Compiler Runtime (MCR) is installed on target
    machines, and ensure you have installed the correct version. To verify
    this, do the following:

    A. Attempt to verify the MCR exists on your system.

    The MCR usually resides in these locations on these platforms:

    Operating System Path to MCR
    ================ ===========
    Windows C:\Program Files\MATLAB\MATLAB Compiler Runtime\v79
    Mac Applications/MATLAB/MATLAB_Compiler_Runtime/v79
    Linux/Solaris *** No predetermined installation location ***

                      Contact your system administrator.  
    
     NOTE: For information about the installation process and the MCR, 
           type "help MCR" or "help mcrinstaller" at the MATLAB 
           command prompt. 
    

    B. MATLAB 2008b uses MCR version 7.9. To verify

    the version number of the installed MCR, type the following 
    command:
    [mcrmajor,mcrminor]=mcrversion
    at the MATLAB command prompt.
    
  1. Add the MCR directory to the path specified by the target system's
    environment variable.

    A. Locate the name of the environment variable to set, using the table

    below:
    

    Operating System Environment Variable
    ================ ====================
    Windows PATH
    Linux LD_LIBRARY_PATH
    Solaris LD_LIBRARY_PATH
    Mac DYLD_LIBRARY_PATH

    B. Set the path by doing one of the following:

     On Windows systems:
    
     * Add the MCR directory to the environment variable by opening a 
     command prompt and issuing the DOS command, specifying either 
     win32 or win64:
    
         set PATH=C:\Program Files\MATLAB\MATLAB Compiler Runtime\v79\runtime\{win32|win64};%PATH% 
    
     Alternately, for Windows, add the following pathname:
         C:\Program Files\MATLAB\MATLAB Compiler Runtime\v79\runtime\{win32|win64}
     to the PATH environment variable, specifying either win32 or win64, 
     by doing the following:
         1. Select the My Computer icon on your desktop.
         2. Right-click the icon and select Properties from the menu.
         3. Select the Advanced tab.
         4. Click Environment Variables.  
    
     On UNIX systems:
    
     * Add the MCR directory to the environment variable by issuing 
         the following commands:
    
     Linux
         setenv LD_LIBRARY_PATH
             <mcr_root>/v79/runtime/glnx86:
             <mcr_root>/v79/sys/os/glnx86:
             <mcr_root>/v79/sys/java/jre/glnx86/jre1.6.0/lib/i386/native_threads:
             <mcr_root>/v79/sys/java/jre/glnx86/jre1.6.0/lib/i386/server:
             <mcr_root>/v79/sys/java/jre/glnx86/jre1.6.0/lib/i386
         setenv XAPPLRESDIR <mcr_root>/v79/X11/app-defaults
    
     Solaris64
         setenv LD_LIBRARY_PATH /usr/lib/lwp:
             <mcr_root>/v79/runtime/sol64:
             <mcr_root>/v79/sys/os/sol64:
             <mcr_root>/v79/sys/java/jre/sol64/jre1.6.0/lib/sparcv9/native_threads:
             <mcr_root>/v79/sys/java/jre/sol64/jre1.6.0/lib/sparcv9/server:
             <mcr_root>/v79/sys/java/jre/sol64/jre1.6.0/lib/sparcv9
         setenv XAPPLRESDIR <mcr_root>/v79/X11/app-defaults
    
     Linux x86-64
         setenv LD_LIBRARY_PATH
             <mcr_root>/v79/runtime/glnxa64:
             <mcr_root>/v79/sys/os/glnxa64:
             <mcr_root>/v79/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/native_threads:
             <mcr_root>/v79/sys/java/jre/glnxa64/jre1.6.0/lib/amd64/server:
             <mcr_root>/v79/sys/java/jre/glnxa64/jre1.6.0/lib/amd64 
         setenv XAPPLRESDIR <mcr_root>/v79/X11/app-defaults
    
     Mac
         setenv DYLD_LIBRARY_PATH
             <mcr_root>/version/runtime/maci:
             <mcr_root>/version/sys/os/maci:
             <mcr_root>/version/bin/maci:
             /System/Library/Frameworks/JavaVM.framework/JavaVM:
             /System/Library/Frameworks/JavaVM.framework/Libraries
         setenv XAPPLRESDIR <mcr_root>/version/X11/app-defaults
    
    NOTE: To make these changes persistent after logout on UNIX or 
          Mac machines, modify the .cshrc file to include this setenv 
          command.
    NOTE: On Windows, the environment variable syntax utilizes 
          backslashes (\), delimited by semi-colons (;). On UNIX,
          the environment variable syntax utilizes forward slashes (/), 
          delimited by colons (:). 
    NOTE: When deploying standalone applications, it is possible 
          to run the shell script file run_regionpropsmex.sh 
          on UNIX and Mac instead of setting environment variables. 
          See "Requirements for Standalone Applications," below.    
  1. Collect the following files, based on what you are deploying:

    NOTE: regionpropsmex.ctf will be present only if you have chosen

       not to embed it for the component.
    

    Requirements for Standalone Applications Built by MATLAB Compiler:

    All Platforms:

     * regionpropsmex.ctf (if present)(Component Technology File archive,
       platform-dependent on target machine)
    

    Windows:

     * MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
       installer)
     * regionpropsmex.exe (application created by MATLAB Compiler)
    

    UNIX:

     * MCRInstaller.bin (MATLAB Compiler Runtime installer)
     * regionpropsmex (application created by MATLAB Compiler)
     * run_regionpropsmex.sh (shell script that can be run to 
       temporarily set environment paths and execute the application)
    

    Mac:

     * MCRInstaller.dmg (MATLAB Compiler Runtime installer)
     * regionpropsmex (application created by MATLAB Compiler)
     * run_regionpropsmex.sh (shell script that can be run to 
       temporarily set environment paths and execute the application)
    
Requirements for C and C++ Shared Libraries Built by MATLAB Compiler:
============================================================

All Platforms:
    * regionpropsmex.ctf (if present)(Component Technology File archive,
      platform-dependent on target machine, contains compiled M-code)
    * regionpropsmex.dll (shared library, file extension varies by 
      platform)
    * regionpropsmex.h (library header file)

Windows:
    * MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
      installer)  

UNIX:
    * MCRInstaller.bin (MATLAB Compiler Runtime installer)

Mac:
    * MCRInstaller.dmg (MATLAB Compiler Runtime installer)


Requirements for .NET Components Built by MATLAB Builder NE:
============================================================

Windows:
    * regionpropsmex.ctf (if present)(Component Technology File archive, contains 
      compiled M-code)    
    * regionpropsmex.xml (documentation files)
    * regionpropsmex.pdb (program database file - if DEBUG option 
      selected)
    * regionpropsmex.dll (component assembly file)
    * MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
      archive)


Requirements for COM Components Built by MATLAB Builder NE:
============================================================

Windows:
    * regionpropsmex.ctf (if present)(Component Technology File archive, contains 
      compiled M-code)
    * regionpropsmex_1_0.dll (COM component)
    * MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
      archive)      


Requirements for Java Components Built by MATLAB Builder JA: 
============================================================

All Platforms: 
    * regionpropsmex.jar (Java class files and compiled M-code)

Windows:
    * MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
      installer)  

UNIX:
    * MCRInstaller.bin (MATLAB Compiler Runtime installer)

Mac:
    * MCRInstaller.dmg (MATLAB Compiler Runtime installer)


Requirements for Components Built by MATLAB Builder EX:
============================================================

Windows:
    * regionpropsmex.ctf (if present)(Component Technology File archive, contains 
      compiled M-code)
    * regionpropsmex_1_0.dll (COM component)
    * regionpropsmex.xla (optionally created and placed in
       directory by the user)  
    * MCRInstaller.exe (self-extracting MATLAB Compiler Runtime
      archive)
不知道你这个问题是否已经解决, 如果还没有解决的话:
  • 以下回答来自chatgpt:

    我不知道要解决什么问题,请问您需要什么帮助?


如果你已经解决了该问题, 非常希望你能够分享一下解决方案, 写成博客, 将相关链接放在评论区, 以帮助更多的人 ^-^