how to create a windows executable file

hello i created an easy script in order to make a mechanical dimensioning asking some basic input and printing an output. now i would to use this program in a pc without matlab installed. how can i create a windows .exe file?

回答(3 个)

hi how can i check if i have this feature?

5 个评论

Type ver on the command line and see if the Compiler is listed among your toolboxes.
MATLAB Version: 8.0.0.783 (R2012b) MATLAB License Number: •••••• Operating System: Microsoft Windows 7 Version 6.1 (Build 7601: Service Pack 1) Java Version: Java 1.6.0_17-b04 with Sun Microsystems Inc. Java HotSpot™ 64-Bit Server VM mixed mode ------------------------------------------------------------------------------------------------------- MATLAB Version 8.0 (R2012b) Simulink Version 8.0 (R2012b) Aerospace Blockset Version 3.10 (R2012b) Aerospace Toolbox Version 2.10 (R2012b) Bioinformatics Toolbox Version 4.2 (R2012b) Communications System Toolbox Version 5.3 (R2012b) Computer Vision System Toolbox Version 5.1 (R2012b) Control System Toolbox Version 9.4 (R2012b) Curve Fitting Toolbox Version 3.3 (R2012b) DO Qualification Kit Version 2.0 (R2012b) DSP System Toolbox Version 8.3 (R2012b) Data Acquisition Toolbox Version 3.2 (R2012b) Database Toolbox Version 4.0 (R2012b) Datafeed Toolbox Version 4.4 (R2012b) Econometrics Toolbox Version 2.2 (R2012b) Embedded Coder Version 6.3 (R2012b) Filter Design HDL Coder Version 2.9.2 (R2012b) Financial Instruments Toolbox Version 1.0 (R2012b) Financial Toolbox Version 5.0 (R2012b) Fixed-Point Toolbox Version 3.6 (R2012b) Fuzzy Logic Toolbox Version 2.2.16 (R2012b) Global Optimization Toolbox Version 3.2.2 (R2012b) HDL Coder Version 3.1 (R2012b) HDL Verifier Version 4.1 (R2012b) IEC Certification Kit Version 3.0 (R2012b) Image Acquisition Toolbox Version 4.4 (R2012b) Image Processing Toolbox Version 8.1 (R2012b) Instrument Control Toolbox Version 3.2 (R2012b) MATLAB Builder EX Version 2.3 (R2012b) MATLAB Builder JA Version 2.2.5 (R2012b) MATLAB Builder NE Version 4.1.2 (R2012b) MATLAB Coder Version 2.3 (R2012b) MATLAB Compiler Version 4.18 (R2012b) MATLAB Report Generator Version 3.13 (R2012b) Mapping Toolbox Version 3.6 (R2012b) Model Predictive Control Toolbox Version 4.1.1 (R2012b) Model-Based Calibration Toolbox Version 4.5 (R2012b) Neural Network Toolbox Version 8.0 (R2012b) OPC Toolbox Version 3.1.2 (R2012b) Optimization Toolbox Version 6.2.1 (R2012b) Parallel Computing Toolbox Version 6.1 (R2012b) Partial Differential Equation Toolbox Version 1.1 (R2012b) Phased Array System Toolbox Version 1.3 (R2012b) RF Toolbox Version 2.11 (R2012b) Real-Time Windows Target Version 4.1 (R2012b) Robust Control Toolbox Version 4.2 (R2012b) Signal Processing Toolbox Version 6.18 (R2012b) SimBiology Version 4.2 (R2012b) SimDriveline Version 2.3 (R2012b) SimElectronics Version 2.2 (R2012b) SimEvents Version 4.2 (R2012b) SimHydraulics Version 1.11 (R2012b) SimMechanics Version 4.1 (R2012b) SimPowerSystems Version 5.7 (R2012b) SimRF Version 3.3 (R2012b) Simscape Version 3.8 (R2012b) Simulink 3D Animation Version 6.2 (R2012b) Simulink Code Inspector Version 1.2 (R2012b) Simulink Coder Version 8.3 (R2012b) Simulink Control Design Version 3.6 (R2012b) Simulink Design Optimization Version 2.2 (R2012b) Simulink Design Verifier Version 2.3 (R2012b) Simulink Fixed Point Version 7.2 (R2012b) Simulink PLC Coder Version 1.4 (R2012b) Simulink Report Generator Version 3.13 (R2012b) Simulink Verification and Validation Version 3.4 (R2012b) Spreadsheet Link EX Version 3.1.6 (R2012b) Stateflow Version 8.0 (R2012b) Statistics Toolbox Version 8.1 (R2012b) Symbolic Math Toolbox Version 5.9 (R2012b) System Identification Toolbox Version 8.1 (R2012b) SystemTest Version 2.6.4 (R2012b) Vehicle Network Toolbox Version 1.7 (R2012b) Wavelet Toolbox Version 4.10 (R2012b) xPC Target Version 5.3 (R2012b) xPC Target Embedded Option Version 5.3 (R2012b)
do you see it? maybe "MATLAB Compiler Version 4.18 "?
Yes. "MATLAB Compiler" is the right one
Is this a university project? Are you going to provide this to a few users or many? Maybe there are better alternatives.
i'm in a technical office, i'm trying to putting on matlab some basic mecahnical dimensioning, accessible from every one

请先登录,再进行评论。

andrea vironda
andrea vironda 2016-3-13
编辑:Image Analyst 2016-3-13
i used the matlab compiler and i provided to install my software.
when i try to launch the program, i receive this error:
what can i do?

1 个评论

We can't tell unless we see the actual line of code, so be sure to upload that. In the meantime, what does this say
which -all regexprep

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by