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

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 commentaires

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?
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.

Connectez-vous pour commenter.

 Réponse acceptée

Try using the -singleCompThread option with mcc:
>> mcc -R -singleCompThread -m foo.m

2 commentaires

I didn't know multithread was default. Now it works as i wished. Thanks, Kaustubha.
Minsu: Glad that helped! Could you please accept my answer if that resolves this question? Thanks!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler dans Centre d'aide et File Exchange

Produits

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by