Why multi-thread jobs are created when i complie my signle process code using mcc in linux machine?

10 views (last 30 days)
I complied my signle process code using MCC(deployment project) to make excutable in linux machine. And i run it, it always make multi thread jobs. I wish it would make multi-thread job. how can i change it? and how could it make multi-thread job? I only use image process toolbox and fprint function in my code.
  2 Comments
Walter Roberson
Walter Roberson on 25 Jun 2013
You seem to be saying that it does make multi-threaded jobs, and that you want it to make multi-threaded jobs. To us it appears that it is doing what you want it to do.
Are you talking about multiple threads at the time it is compiling, or are you talking about multiple threads at execution time?
Minsu Cheon
Minsu Cheon on 26 Jun 2013
I don't want make multiple threaded jobs. I just want execute it using only single core. not multi-thread process at execution time. oh, i wrote 'i wish multithread'. sorry. i don't want multi-thread.

Sign in to comment.

Accepted Answer

Kaustubha Govind
Kaustubha Govind on 26 Jun 2013
Try using the -singleCompThread option with mcc:
>> mcc -R -singleCompThread -m foo.m

More Answers (0)

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!