![]() |
|
|
Регистрация Восстановить пароль |
Регистрация | Задать вопрос |
Заплачу за решение |
Новые сообщения |
Сообщения за день |
Расширенный поиск |
Правила |
Всё прочитано |
![]() |
|
Опции темы | Поиск в этой теме |
![]() |
#1 |
Пользователь
Регистрация: 16.07.2010
Сообщений: 17
|
![]()
создал приложение в матлабе. Но на других компах оно не пашет... Да даже у меня не пашет если я копирую необходимые файлы в другую папку. в хелпе прочитал что-нужно сделать для того чтобы приложение работала на других компах, правда там все на англиском... ну я вроде все сделал... но ничего не получается... Приложение запискается распаковывается, появляется папка... но сама программа не запускается, вот что там написано:
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/help...lbox/compiler/ NOTE: Replace the items enclosed in angle brackets ( < > ) with your own values. 1. Ensure that the MATLAB Component 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 Component Runtime\v77 Mac/Intel Mac Applications/MATLAB/MATLAB_Component_Runtime/v77 Linux *** 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 2007b uses MCR version 7.7. To verify the version number of the installed MCR, type the following command: [mcrmajor,mcrminor]=mcrversion at the MATLAB command prompt. 2. 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 Component Runtime\v77\runtime\{win32|win64};% PATH% Alternately, for Windows, add the following pathname: C:\Program Files\MATLAB\MATLAB Component Runtime\v77\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. NOTE: To make theses 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 EV syntax utilizes forward slashes (/), delimited by colons (. NOTE: When deploying C and C++ standalone applications, it is possible to run the shell script file run_Ras4et_povrejdenia_pozvono4nika _export.sh on UNIX and Mac instead of setting environment variables. See "Requirements for Standalone Applications," below. 3. Collect the following files, based on what you are deploying: Requirements for Standalone Applications: =================================== ====== All Platforms: * Ras4et_povrejdenia_pozvono4nika_exp ort.ctf (Component Technology File archive, platform-dependent on target machine) Windows: * MCRInstaller.exe (self-extracting MATLAB Component Runtime library installer) * Ras4et_povrejdenia_pozvono4nika_exp ort.exe (application created by MATLAB Compiler) Мне надо только для виндоуса по этому я копировал MCR,установил его, потом задал новую переменную среды с именем PATH в значении поставил путь к папке как и написано, ну и копировал CTF фаил и само проиложение... Не знаю даже что может быть... меня смущает еще и то, что я не могу на своем же компе ее запустить(только из того места где я ее создал она запускается). можете подсказать что не так??? |
![]() |
![]() |
![]() |
Опции темы | Поиск в этой теме |
![]() |
||||
Тема | Автор | Раздел | Ответов | Последнее сообщение |
Создание приложения в Матлабе | Kracozebr | Помощь студентам | 0 | 06.08.2010 09:00 |
Вызов рантайм сервера в матлабе | Kracozebr | Помощь студентам | 0 | 04.08.2010 12:35 |
Управляемая графика в матлабе. Создание кнопок и полей для ввода. | о_0 | Помощь студентам | 1 | 22.05.2010 19:54 |
Написание программы на C++ в матлабе | mx7 | Общие вопросы C/C++ | 0 | 18.04.2010 19:18 |
помогите,Массив в Матлабе(MatLab) | Answer26 | Помощь студентам | 1 | 23.12.2009 21:14 |