|
|
createTask with a string as a parameter |
|
boeckcro |
![Forum-Anfänger Forum-Anfänger](images/rankst1.gif)
Forum-Anfänger
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 10
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 17.08.22
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: ---
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 01.07.2024, 14:35
Titel: createTask with a string as a parameter
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Hi,
I want to use our Parallels Server.
My local function has the path of measurement data (string variable) as input Parameter.
e.g. function evaluateMyTestCase(networkPath)
I don't know how I can create a task with a string, only number values are working.
c = parcluster;
j = createJob(c);
t = createTask(j,@evaluateMyTestCase,networkPath);
Is there a possibility to do it with string variables?
Kind Regards, Caro
|
|
|
|
|
Harald |
![Forum-Meister Forum-Meister](images/rankst5.gif)
Forum-Meister
|
![](templates/vSpiralFull/images/spacer.gif) |
Beiträge: 24.484
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Anmeldedatum: 26.03.09
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Wohnort: Nähe München
|
![](templates/vSpiralFull/images/spacer.gif) |
|
![](templates/vSpiralFull/images/spacer.gif) |
Version: ab 2017b
|
![](templates/vSpiralFull/images/spacer.gif) |
|
|
![](templates/vSpiralFull/images/_postbit_left_divide.gif) |
|
Verfasst am: 01.07.2024, 16:29
Titel:
|
![](templates/vSpiralFull/images/_postbit_header_right_right.gif) |
Hi,
the syntax in the documentation that you apparently want to use is
So, you need to specify the number of outputs you want to retrieve from your function (if it does not return any outputs: 0) and then a cell array of inputs, e.g.
Note that this is a primarily German language forum. For English language questions, please also consider using MATLAB Answers.
Best wishes,
Harald
_________________
1.) Ask MATLAB Documentation
2.) Search gomatlab.de, google.de or MATLAB Answers
3.) Ask Technical Support of MathWorks
4.) Go mad, your problem is unsolvable ;)
|
|
|
|
|
Einstellungen und Berechtigungen
|
|
Du kannst Beiträge in dieses Forum schreiben. Du kannst auf Beiträge in diesem Forum antworten. Du kannst deine Beiträge in diesem Forum nicht bearbeiten. Du kannst deine Beiträge in diesem Forum nicht löschen. Du kannst an Umfragen in diesem Forum nicht mitmachen. Du kannst Dateien in diesem Forum posten Du kannst Dateien in diesem Forum herunterladen
|
|
Impressum
| Nutzungsbedingungen
| Datenschutz
| FAQ
| RSS
Hosted by:
Copyright © 2007 - 2024
goMatlab.de | Dies ist keine offizielle Website der Firma The Mathworks
MATLAB, Simulink, Stateflow, Handle Graphics, Real-Time Workshop, SimBiology, SimHydraulics, SimEvents, and xPC TargetBox are registered trademarks and The MathWorks, the L-shaped membrane logo, and Embedded MATLAB are trademarks of The MathWorks, Inc.
|
|