How to read .pkl files (produced by tapqir) in matlab #415
Unanswered
gelles-brandeis
asked this question in
Q&A
Replies: 2 comments 3 replies
-
Hi Jeff, I made it so that
EDIT (02/27/2023): missing |
Beta Was this translation helpful? Give feedback.
3 replies
-
Thanks, Yerdos! That will be more convenient. -- Jeff
…On 2/8/2023 11:20 PM, Yerdos Ordabayev wrote:
Hi Jeff,
I made it so that |dwelltime| command would save the dwelltime
intervals in matlab format file as well. It is in the latest branch,
if you want to test it out you can install it by running:
|pip install -U ***@***.*** |
—
Reply to this email directly, view it on GitHub
<#415 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB5AU2MNXJWEZK3RQLALOIDWWRWAVANCNFSM6AAAAAAUV3LXDQ>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
This is a kludge, maybe someone has a better way?
pick a compatible version of python from https://www.mathworks.com/support/requirements/python-compatibility.html 2022b <--> 3.10
install that version of python from python.org (if not already installed)
make sure that the directories containing the python executable and scripts are at the top of your windows path (in settings/system/about/advanced system settings/environment variables (in my case: C:\Users\gelles\AppData\Local\Programs\Python\Python310 and C:\Users\gelles\AppData\Local\Programs\Python\Python310\Scripts)
from a windows terminal run: python -m pip install pandas
close and reopen Matlab
after I did all that I was able to depickle a tapqir file in matlab (based on https://xcorr.net/2013/06/12/load-pickle-files-in-matlab/) with the following matlab commands:
ans =
PythonEnvironment with properties:
fn =
ans =
Python DataFrame with properties:
Beta Was this translation helpful? Give feedback.
All reactions