how to create a standalone application in MATLAB?

2 次查看(过去 30 天)
I have created a project which contains 8 .m-files,3 .mat files,few images,5 .fig files.Now I want to create standalone application which I can distribute or use in other PCs which dont have MATLAB.How to create and distribute my software?
  4 个评论
Walter Roberson
Walter Roberson 2012-5-17
amit probably needs more detail than that, pointers to the documentation.
amit pathania
amit pathania 2012-5-19
I am working in MATLAB 2012a on Windows7.I have created a project on image processing so I have created few m-files for different image processing functions.there is GUI where user can select different sources and then based on user selection,he is directed to different m files.Now i want to create a single executable with all m-files,fig files,mat files.
I am using MS VS 2010 compiler.When i use deployment tool and add all files to my project,it starts compiling but i get following error:
"Warning: an error occurred while parsing class emlcoder.InferenceReport: Undefined function 'findclass' for input arguments of type 'double'."
When I am running my matlab code,its working fine.then Why i am getting this error?

请先登录,再进行评论。

回答(2 个)

Thomas
Thomas 2012-5-17
  1 个评论
amit pathania
amit pathania 2012-5-19
I am working in MATLAB 2012a on Windows7.I have created a project on image processing so I have created few m-files for different image processing functions.there is GUI where user can select different sources and then based on user selection,he is directed to different m files.Now i want to create a single executable with all m-files,fig files,mat files.
I am using MS VS 2010 compiler.When i use deployment tool and add all files to my project,it starts compiling but i get following error:
"Warning: an error occurred while parsing class emlcoder.InferenceReport: Undefined function 'findclass' for input arguments of type 'double'."
When I am running my matlab code,its working fine.then Why i am getting this error?

请先登录,再进行评论。


Daniel Shub
Daniel Shub 2012-5-17
This has been asked so often it is FAQ 3.10
  4 个评论
amit pathania
amit pathania 2012-5-19
While compiling my MATLAB code,I am getting following error: "Warning: an error occurred while parsing class emlcoder.InferenceReport: Undefined function 'findclass' for input arguments of type 'double'."
When I am running my matlab code,its working fine.then Why i am getting this error?I am using MS Visual studio 2010 compiler.

请先登录,再进行评论。

类别

Help CenterFile 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