Make sure you have the latest files on your computer.
Table of Contents | ||||
---|---|---|---|---|
|
FreeFileSync
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:
update CSPM from Google Drive (UCLA)
update matlab from Google Drive (UCLA)
Setup (new as of July 2022)
Updated July 21st: tested twice.
Before the profiles will run, the link to google drive needs to be authorized, which requires a series of steps.
Add shared folder to your Google Drive
Ask Paul to share the UCLA Google Drive matlab folder with your Google account. Add that folder with the following steps:
In a browser, go to your Google Drive
Shared with me
Right-click over the shared folder “matlab2share”
Add shortcut to Drive
Select “My Drive” or a subfolder
ADD SHORTCUT
This shared folder will now show up under “My Drive” (or a subfolder if you selected that).
Linking cloud account
From the SynbackPro menu (top-left), go to Linked Cloud Accounts
Enable Google Drive
Link to your Google Account
You can try running the profiles. If it does not return any files on Google Drive, go to the next step (checking and refreshing connection).
Will look like this when done:
Checking and refreshing connection to Google Drive
Steps 1-4 (see snapshot): Select the profile, Modify, click on folder icon, connect to Google Drive (“Yes”)
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 profiles (snapshots on right)
If there are no folders (example on right), first make sure the profile is using your Google account - steps 1-4 below. Second, after connecting, you may need to delete the cloud db (see further down).
IF you are not seeing the folders (see right example)
Reminder:
No Folders - navigate to parent
Now go back (double-click) to “matlab2share”
You should see folders - this means it’s connected
If it’s the CSPM profile, navigate to the CSPM folder:
matlab2share => spm12 => toolbox => CSPM
Delete database (required if the profile was run with 0 results)
Examples of folders that should be visible:
Example of problem with connection - no folders 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; as of Aug 2022, you need to have permission for your Google Account to access this folder. 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).
(obsolete) 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
Child pages (Children Display) |
---|