Error when loading files

OpenGRF is a free OpenSim tool built on the MATLAB API, designed to predict ground reaction forces (GRFs). The tool accepts as input a scaled or subject-specific musculoskeletal (MSK) model (.osim) and a kinematics file (.mot) containing the generalized c
POST REPLY
User avatar
Patrick Mai
Posts: 2
Joined: Thu Jul 21, 2016 3:45 am

Error when loading files

Post by Patrick Mai » Thu Dec 05, 2024 5:10 am

Hi,

After running the .p file from the working directory, I have the following error:

1. It asks me to load the osim file (working)
2. It asks me to select the IK result file (working)


Error using inputdlg
Default Answer must be a cell array of character vectors.

Error in OpenGRF_v1
OpenGRF GUI seems not so start.
I also attached the osim and mot file
https://nihno-my.sharepoint.com/:f:/g/p ... g?e=50x8IL

User avatar
Andrea Di Pietro
Posts: 2
Joined: Sat Nov 17, 2018 2:56 am

Re: Error when loading files

Post by Andrea Di Pietro » Thu Dec 05, 2024 11:00 am

Hi Patrick,
Thanks for sharing the erorr details and your files. The problem may be related to the user matlab version since OpenGRF has been buit on the 2024a matlab version; in fact, I ran your input files using this version and everything worked as expecrd. Apologies for the inconvenience, in next release we'll make an effort to address compatibility issues.
Cheers,
Andrea

User avatar
Patrick Mai
Posts: 2
Joined: Thu Jul 21, 2016 3:45 am

Re: Error when loading files

Post by Patrick Mai » Thu Dec 05, 2024 11:41 am

Hi,

Thank you for the quick response. I upgraded to Matlab 2024a (coming from 2023a) and its working :ugeek:

POST REPLY