MATLAB: How to solve Error building project to create exe file from .m using deploytool

image processing

Deploytool
Name :project1
Location : E:\Naresh\MATLAB\code1
Target : Windows standalone Application
Add main file : programme1.m
Add files / Dictionaries : bull.jpg
Getting error like
Error building project
Run m build -setup to specify the default compiler option file

Best Answer

Run
mbuild -setup
and pick a compiler. You might need to install a compiler first. You can use the same compilers as you would use for mex .
Related Question