Adjust marker protocol path

Hi all,

I am looking at a large number of different subjects for my study and therefor I implemented a structure similar to the Multi Trial Mocap model. Everything works fine. However because of marker dropout I need to include different marker protocol files for every subject so I can adjust which markers to include and adjust their weight.

When I change the path to the marker protocol file in LabSpecificData like this, it works:
#path MOCAP_MARKER_PROTOCOL_FILE “…/Subjects/BS9/MarkerProtocolGait.any”

However instead of the BS9 I want to enter the value of a variable with the subject’s name I created elsewhere.

#path MOCAP_MARKER_PROTOCOL_FILE “…/Subjects” + Main.ModelSetup.TrialSpecificData.SubjectName + “/MarkerProtocolGait.any”

The syntax in this is not right. I get this error message:

ERROR(SCR.SCN6) : E:/Johan…chel/G…5/S…p/LabSpecificData.any(7) : ‘Main.ModelSetup.TrialSpecificData.SubjectName’ : Unexpected character.

Can someone tell me how to solve this?

Thank you in advance.

Regards,
Johanna

I just found the answer to my question.

It worked when using a similar structure as described by danielnolte in the forum post strcat.

Maybe this helps other having similar issues.

1 Like

This topic was automatically closed 125 days after the last reply. New replies are no longer allowed.