How to install Psychtoolbox onto Matlab Mobile/Online?

37 visualizaciones (últimos 30 días)
Tyler Wiles
Tyler Wiles el 14 de Sept. de 2023
Respondida: Sanchari el 22 de Sept. de 2023
Since I cannot download add ons to the matlab ipad app, I have to go through matlab moblie in order to download add ons. However, the add on I need (Psychtoolbox) is technically not supported by matlab versions newer than 2021b. However, following the instructions on their website (http://psychtoolbox.org/download#alternate-download) to download to matlab r2023a works, and I have done it on multiple devices.
When attempting to install psychtoolbox to matlab online, using the same instructions as (http://psychtoolbox.org/download#alternate-download), I get the following result:
>> DownloadPsychtoolbox('/MATLAB Drive/DownloadPsychtoolbox.m~')
DownloadPsychtoolbox('/MATLAB Drive/DownloadPsychtoolbox.m~','beta','', 0, 0)
Requested flavor is: beta
Requested location for the Psychtoolbox folder is inside: /MATLAB Drive/DownloadPsychtoolbox.m~
Using optimal client for subversion checkout.
Good. Your privileges suffice for the requested installation into folder /MATLAB Drive/DownloadPsychtoolbox.m~.
I will now download the latest Psychtoolbox for Linux.
Requested flavor is: beta
Target folder for installation: /MATLAB Drive/DownloadPsychtoolbox.m~
Downloading via Matlabs integrated SVNKit: This can take multiple minutes.
There may be no output to this window to indicate progress until the download is complete.
Please be patient ...
Error using DownloadPsychtoolbox>svndownload
Java exception occurred:
org.tmatesoft.svn.core.SVNException: svn: E175002: Processing REPORT request response failed: XML document structures must start and end within the same entity.
(/Psychtoolbox-3/Psychtoolbox-3/!svn/vcc/default)
svn: E175002: REPORT request failed on '/Psychtoolbox-3/Psychtoolbox-3/!svn/vcc/default'
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:112)
at org.tmatesoft.svn.core.internal.wc.SVNErrorManager.error(SVNErrorManager.java:96)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:765)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:352)
at org.tmatesoft.svn.core.internal.io.dav.http.HTTPConnection.request(HTTPConnection.java:340)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.performHttpRequest(DAVConnection.java:910)
at org.tmatesoft.svn.core.internal.io.dav.DAVConnection.doReport(DAVConnection.java:363)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.runReport(DAVRepository.java:1356)
at org.tmatesoft.svn.core.internal.io.dav.DAVRepository.update(DAVRepository.java:854)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.updateInternal(SvnNgAbstractUpdate.java:263)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.update(SvnNgAbstractUpdate.java:115)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgAbstractUpdate.checkout(SvnNgAbstractUpdate.java:877)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:26)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgCheckout.run(SvnNgCheckout.java:11)
at org.tmatesoft.svn.core.internal.wc2.ng.SvnNgOperationRunner.run(SvnNgOperationRunner.java:20)
at org.tmatesoft.svn.core.internal.wc2.SvnOperationRunner.run(SvnOperationRunner.java:21)
at org.tmatesoft.svn.core.wc2.SvnOperationFactory.run(SvnOperationFactory.java:1239)
at org.tmatesoft.svn.core.wc2.SvnOperation.run(SvnOperation.java:294)
at org.tmatesoft.svn.core.wc.SVNUpdateClient.doCheckout(SVNUpdateClient.java:777)
Error in DownloadPsychtoolbox (line 735)
svndownload(targetRevision, dflavor, p, downloadmethod);

Respuestas (1)

Sanchari
Sanchari el 22 de Sept. de 2023
Hello Tyler,
I understand that you want to install the MATLAB File Exchange Add-On, Psychtoolbox-3 in either MATLAB Mobile or MATLAB Online. However, Psychtoolbox-3 is not yet supported for MATLAB R2023a. It is compatible with MATLAB R2014b to MATLAB R2021b.
You can try the following steps as a workaround:
  1. Please check the system requirements for the installation from the website: http://psychtoolbox.org/requirements.html
  2. Check the specifications and limitations of MATLAB Online from the documentation: https://www.mathworks.com/products/matlab-online/limitations.html
  3. Steps to access an Add-On from MATLAB Desktop for use in MATLAB Online Server: https://www.mathworks.com/help/matlab-online-server/admin/install-add-ons-for-matlab-in-matlab-online-server.html?searchHighlight=Add%20on%20matlab%20online&s_tid=srchtitle_support_results_1_Add%20on%20matlab%20online#mw_a64657e8-b299-44b1-a80b-0f1209113613
You can further refer the following MATLAB Answers:
  1. https://www.mathworks.com/support/search.html/answers/82108-how-can-i-download-psychtoolbox.html?fq%5B%5D=asset_type_name:answer&fq%5B%5D=category:support/installat5630&page=1
  2. https://www.mathworks.com/matlabcentral/answers/764181-how-can-i-download-psychtoolbox
  3. https://www.mathworks.com/support/search.html/answers/673298-how-to-add-a-trial-toolbox-to-matlab-online.html?fq%5B%5D=asset_type_name:answer&fq%5B%5D=category:matlab/startup-and-shutdown&page=1
Hope this helps!

Categorías

Más información sobre Installation and Operational Settings en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by