Make sure you have the latest files on your computer.
SyncBackPro
Run the profiles that sync from Google Drive (in the cloud) to C:\matlab. As of July 2022, these are stored at Z:\Sys Admin\SyncBackPro\Profiles - UCLA cloud (matlab and CSPM) or Y:\Software\SyncBack\Profiles\matlab from matlab2share.
Profiles: CSPM - update from Google Drive (UCLA) and matlab - update from Google Drive (UCLA)
Setup (new as of July 2022)
The link to google drive needs to be authorized. The Google account info is in the “login info.txt” file in the profile folder. There are a series of steps that may need to be taken.
Linking cloud account
From the SynbackPro menu (top-left), go to Linked Cloud Accounts
Enable Google Drive
Link to software@osabrainresearch.org (see in “login info.txt” file)
This may require additional authorization from Paul (send to +1-310-775-5529)
You can try running the profile. If it does not return any files on Google Drive, go to the next step (refreshing connection).
Will look like this when done:
Refreshing connection to Google Drive
Steps 1-4 (see snapshot): Select the profile, modify, go to folder icon, connect to Google Drive
This may ask you to select a Google Drive account; use the same as above
You should see multiple folders, when in matlab or CSPM (snapshots on right)
It may work ok after this. If not, delete the cloud database (and check that “software user” is the Username)
Examples of folders that should be visible:
Running
If only CSPM files are changed, can just run CSPM profile (faster).
Troubleshooting
Sometimes SyncBackPro gets messed up; delete cloud db to force re-read from cloud.
Updating
The latest licenses are in the Z:\Sys Admin\SyncBackPro\ or Y:\Software\SyncBack\ folders. As of July 2022, we have licenses for version 10 (see “Upgrade to V10” subfolder).
Direct link to Google Drive
This link takes you to Google Drive in a browser, where all the files are available for download. The browser interface works best if you sign in to your account; you should be able to download a compressed folder with everything (or one file at a time). Uncompress then copy to C:\matlab.
The CSPM files need the matlab => spm12 folder, which contains SPM12, toolboxes (like SUIT), and CSPM (in matlab => spm12 => toolbox => CSPM).
Old way
(obsolete) Usual
Normally, if you have Google Drive running:
Open SyncBackPro
Run the profile to copy from Google Drive
for only spm12 and CSPM updates: select the profile "spm12 - Google ..." or
for all matlab updates: select the profile "matlab - Google drive...".
You should get a confirmation dialog for files that will be replaced. If nothing shows up, no files will be updated.
(obsolete) Troubleshooting
If you want to check you have the latest files, start from the end by working through these steps:
Look for the most recent file in your local matlab folder (usually c:\matlab\spm12\toolbox\CSPM)
Sort by "Date modified" and look at date of the latest "MATLAB code" or "MATLAB Figure" (the "MATALAB Data" or "Microsoft Access Table" files are your local settings, and get changes each time you use CSPM).
If this file is not up-to-date, SyncBack has not copied the latest file from the Google Drive matlab folder on your computer.
Look for the most recent file in your Google Drive matlab folder (Google Drive\matlab\spm12\toolbox\CSPM)
If this is not up-to-date, the Google Drive sync program has not downloaded the latest files from the cloud
Check that Google Drive is running on your computer (little icon on the bottom right)
To start, search for Google Drive in the Start menu
Check that you are "Signed in" to Google Drive (icon not grayed out)
Check that Google Drive is not still synchronizing; if you just started this process, it will take an hour or more to synchronize all of the matlab folder.
Click on icon, and look for Sync Complete message at bottom right of popup.
Check that Paul has copied the file to the cloud
SOS