Home Questions Unresolved links when opening Matlab2015aSP1 Simulink code in Matlab2019b

Unresolved links when opening Matlab2015aSP1 Simulink code in Matlab2019b

DWQA QuestionsCategory: KINARM End-Point LabUnresolved links when opening Matlab2015aSP1 Simulink code in Matlab2019b
Darrin Wijeyaratnam asked 2 years ago
Hello,  We have an experiment written in Matlab2015aSP1 that works normally but when we open the simulink files in Matlab2019b, two timer blocks we have present an error saying \"Unresolved Link xPC Target Time\" and the other saying \"Unresolved Link xPC Target Time 1\". Do you know how we can resolve these timer block links? Below is a read out of the unresolved link: Block Parameters: xPC Target Time. Unresolved library link. Specify valid library block path as the source block. Failed to find \'slrtlib/Target Management/Target Information/Session Time \' in library \'slrtlib\'. In Matlab2015aSP1, when I go into the properties of the block there is no description and when I open xPC Target Time, I get the following description: xpctime(mask)(link) Kernel. Return current Kernel time. Sample time: 0.001 Any help with how we can resolve this block would be appreciated. Thank you, Darrin
1 Answers
Koloman Varady Staff answered 2 years ago
Dear Darrin, Those are Simulink Real-Time blocks from the Target Management Library that Mathworks provides. I've never used them before, but it seems like they're missing in the library in R2019b. You'd have to check the release notes or contact Mathworks support for the reason and a possible workaround. If you are interested in measuring time intervals, we usually use the Counter Free-Running block. Cheers, Koloman