Clarification for parallel process

1 ビュー (過去 30 日間)
Pramit Biswas
Pramit Biswas 2018 年 5 月 2 日
コメント済み: Ameer Hamza 2018 年 5 月 2 日
I have set up one mainScript, where one parallel for initiates calling of func1 function. This function calls script1 within. This means at a time several for loop is accessing script1 (though through a function). Can these be a problem for variables?
mainScript
func1
script1

採用された回答

Ameer Hamza
Ameer Hamza 2018 年 5 月 2 日
No, every function call has its own workspace, they do not interfere with each other unless you try to do it yourself (for example using evalin(), assignin() etc.).
  2 件のコメント
Ameer Hamza
Ameer Hamza 2018 年 5 月 2 日
Thanks for the clarification.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Find more on Loops and Conditional Statements in Help Center and File Exchange

タグ

製品

Community Treasure Hunt

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

Start Hunting!

Translated by