Clarification for parallel process

2 Ansichten (letzte 30 Tage)
Pramit Biswas
Pramit Biswas am 2 Mai 2018
Kommentiert: Ameer Hamza am 2 Mai 2018
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?

Akzeptierte Antwort

Ameer Hamza
Ameer Hamza am 2 Mai 2018
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 Kommentare
Ameer Hamza
Ameer Hamza am 2 Mai 2018
Thanks for the clarification.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)


Mehr zu Loops and Conditional Statements finden Sie in Help Center und File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by