@joernmalzahn I think you have upgraded your installation of MATLAB, since Simulink complains about simulinkBlockLibraryTest being for a newer version of MATLAB on my machine (which runs 2015b). This in itself shouldn't be a problem, however the test fails for me and I can't figure out why. jObj is defined within the test function, the same place as sim() is called. Maybe 2015b doesn't pass the local variables to the workspace as seen by simulink?
================================================================================
Error occurred in simulinkLibraryTest/testBuiltJoint and it did not run to completion.
--------------
Error Details:
--------------
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Error due to multiple causes.
Caused by:
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Invalid setting in 'simulinkBlockLibraryTest/Discrete-Time Integrator' for parameter 'SampleTime'.
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Error evaluating parameter 'SampleTime' in 'simulinkBlockLibraryTest/Discrete-Time Integrator'
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Undefined variable "jObj" or class "jObj.Ts".
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Error evaluating parameter 'jointObj' in 'simulinkBlockLibraryTest/JointElectricalSubsystem'
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Undefined function or variable 'jObj'.
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Error evaluating parameter 'jointObj' in 'simulinkBlockLibraryTest/JointModel'
Error using simulinkLibraryTest>testBuiltJoint (line 138)
Undefined function or variable 'jObj'.
@joernmalzahn I think you have upgraded your installation of MATLAB, since Simulink complains about
simulinkBlockLibraryTest
being for a newer version of MATLAB on my machine (which runs 2015b). This in itself shouldn't be a problem, however the test fails for me and I can't figure out why.jObj
is defined within the test function, the same place assim()
is called. Maybe 2015b doesn't pass the local variables to the workspace as seen by simulink?