# MATLAB Toolboxes

**URL:** <https://psychtoolbox.discourse.group/t/matlab-toolboxes/120>\
**Category:** Uncategorized\
**Created:** [February 22, 2017, 5:05pm UTC](https://psychtoolbox.discourse.group/t/matlab-toolboxes/120 "2017-02-22T17:05:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![t.momina](https://avatars.discourse-cdn.com/v4/letter/t/f04885/32.png) [@t.momina](https://psychtoolbox.discourse.group/u/t.momina)\
**Post date:** [February 22, 2017, 5:05pm UTC](https://psychtoolbox.discourse.group/t/matlab-toolboxes/120/1 "2017-02-22T17:05:38Z")

</div>

Hi,  
  
Does installation of basic PTB requires any advanced MATLAB toolboxes?   
  
Thanks,  
Momina

---

<div class="post-metadata">

**Author:** ![mariokleiner](https://avatars.discourse-cdn.com/v4/letter/m/13edae/32.png) [@mariokleiner](https://psychtoolbox.discourse.group/u/mariokleiner)\
**Post date:** [February 22, 2017, 9:08pm UTC](https://psychtoolbox.discourse.group/t/matlab-toolboxes/120/2 "2017-02-22T21:08:01Z")

</div>

No. Also it doesn't even require Matlab. It also works fine for almost all purposes with the free GNU/Octave (https://www.gnu.org/software/octave/) which is very easy to install on Linux or Windows, a bit more work on OSX.  
  
-mario

---

<div class="post-metadata">

**Author:** ![tudorcb](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tudorcb](https://psychtoolbox.discourse.group/u/tudorcb)\
**Post date:** [February 25, 2017, 11:47pm UTC](https://psychtoolbox.discourse.group/t/matlab-toolboxes/120/3 "2017-02-25T23:47:19Z")

</div>

Did run the brew upgrade and was told i am allready up to date.  
Also, as pointed out I get the exact same issues when I install octave over Macports. in fact the two verison look and behave identically.  
  
  
--------------------------------------------  

> On Sat, 2/25/17, [microfish@...](mailto:microfish@...) [PSYCHTOOLBOX] \<[PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)\> wrote:  
>    
> Subject: Re: [PSYCHTOOLBOX] Re: MATLAB Toolboxes  
> To: [PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)  
> Date: Saturday, February 25, 2017, 6:41 PM  
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
> maybe your brews need updating?  
>    
> [http://docs.brew.sh/FAQ.html](http://docs.brew.sh/FAQ.html)  
>    
>    
>    
>    
>    
>    
>    
>    
>    
> #yiv4284215087 #yiv4284215087 --  
> #yiv4284215087ygrp-mkp {  
> border:1px solid #d8d8d8;font-family:Arial;margin:10px  
> 0;padding:0 10px;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mkp hr {  
> border:1px solid #d8d8d8;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mkp #yiv4284215087hd {  
> color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px  
> 0;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mkp #yiv4284215087ads {  
> margin-bottom:10px;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mkp .yiv4284215087ad {  
> padding:0 0;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mkp .yiv4284215087ad p {  
> margin:0;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mkp .yiv4284215087ad a {  
> color:#0000ff;text-decoration:none;}  
> #yiv4284215087 #yiv4284215087ygrp-sponsor  
> #yiv4284215087ygrp-lc {  
> font-family:Arial;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-sponsor  
> #yiv4284215087ygrp-lc #yiv4284215087hd {  
> margin:10px  
> 0px;font-weight:700;font-size:78%;line-height:122%;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-sponsor  
> #yiv4284215087ygrp-lc .yiv4284215087ad {  
> margin-bottom:10px;padding:0 0;}  
>    
> #yiv4284215087 #yiv4284215087actions {  
> font-family:Verdana;font-size:11px;padding:10px 0;}  
>    
> #yiv4284215087 #yiv4284215087activity {  
> background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}  
>    
> #yiv4284215087 #yiv4284215087activity span {  
> font-weight:700;}  
>    
> #yiv4284215087 #yiv4284215087activity span:first-child {  
> text-transform:uppercase;}  
>    
> #yiv4284215087 #yiv4284215087activity span a {  
> color:#5085b6;text-decoration:none;}  
>    
> #yiv4284215087 #yiv4284215087activity span span {  
> color:#ff7900;}  
>    
> #yiv4284215087 #yiv4284215087activity span  
> .yiv4284215087underline {  
> text-decoration:underline;}  
>    
> #yiv4284215087 .yiv4284215087attach {  
> clear:both;display:table;font-family:Arial;font-size:12px;padding:10px  
> 0;width:400px;}  
>    
> #yiv4284215087 .yiv4284215087attach div a {  
> text-decoration:none;}  
>    
> #yiv4284215087 .yiv4284215087attach img {  
> border:none;padding-right:5px;}  
>    
> #yiv4284215087 .yiv4284215087attach label {  
> display:block;margin-bottom:5px;}  
>    
> #yiv4284215087 .yiv4284215087attach label a {  
> text-decoration:none;}  
>    
> #yiv4284215087 blockquote {  
> margin:0 0 0 4px;}  
>    
> #yiv4284215087 .yiv4284215087bold {  
> font-family:Arial;font-size:13px;font-weight:700;}  
>    
> #yiv4284215087 .yiv4284215087bold a {  
> text-decoration:none;}  
>    
> #yiv4284215087 dd.yiv4284215087last p a {  
> font-family:Verdana;font-weight:700;}  
>    
> #yiv4284215087 dd.yiv4284215087last p span {  
> margin-right:10px;font-family:Verdana;font-weight:700;}  
>    
> #yiv4284215087 dd.yiv4284215087last p  
> span.yiv4284215087yshortcuts {  
> margin-right:0;}  
>    
> #yiv4284215087 div.yiv4284215087attach-table div div a {  
> text-decoration:none;}  
>    
> #yiv4284215087 div.yiv4284215087attach-table {  
> width:400px;}  
>    
> #yiv4284215087 div.yiv4284215087file-title a, #yiv4284215087  
> div.yiv4284215087file-title a:active, #yiv4284215087  
> div.yiv4284215087file-title a:hover, #yiv4284215087  
> div.yiv4284215087file-title a:visited {  
> text-decoration:none;}  
>    
> #yiv4284215087 div.yiv4284215087photo-title a,  
> #yiv4284215087 div.yiv4284215087photo-title a:active,  
> #yiv4284215087 div.yiv4284215087photo-title a:hover,  
> #yiv4284215087 div.yiv4284215087photo-title a:visited {  
> text-decoration:none;}  
>    
> #yiv4284215087 div#yiv4284215087ygrp-mlmsg  
> #yiv4284215087ygrp-msg p a span.yiv4284215087yshortcuts {  
> font-family:Verdana;font-size:10px;font-weight:normal;}  
>    
> #yiv4284215087 .yiv4284215087green {  
> color:#628c2a;}  
>    
> #yiv4284215087 .yiv4284215087MsoNormal {  
> margin:0 0 0 0;}  
>    
> #yiv4284215087 o {  
> font-size:0;}  
>    
> #yiv4284215087 #yiv4284215087photos div {  
> float:left;width:72px;}  
>    
> #yiv4284215087 #yiv4284215087photos div div {  
> border:1px solid  
> #666666;height:62px;overflow:hidden;width:62px;}  
>    
> #yiv4284215087 #yiv4284215087photos div label {  
> color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}  
>    
> #yiv4284215087 #yiv4284215087reco-category {  
> font-size:77%;}  
>    
> #yiv4284215087 #yiv4284215087reco-desc {  
> font-size:77%;}  
>    
> #yiv4284215087 .yiv4284215087replbq {  
> margin:4px;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-actbar div a:first-child {  
> margin-right:2px;padding-right:5px;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mlmsg {  
> font-size:13px;font-family:Arial, helvetica, clean,  
> sans-serif;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mlmsg table {  
> font-size:inherit;font:100%;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mlmsg select,  
> #yiv4284215087 input, #yiv4284215087 textarea {  
> font:99% Arial, Helvetica, clean, sans-serif;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mlmsg pre, #yiv4284215087  
> code {  
> font:115% monospace;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mlmsg \* {  
> line-height:1.22em;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-mlmsg #yiv4284215087logo {  
> padding-bottom:10px;}  
>    
>    
> #yiv4284215087 #yiv4284215087ygrp-msg p a {  
> font-family:Verdana;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-msg  
> p#yiv4284215087attach-count span {  
> color:#1E66AE;font-weight:700;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-reco  
> #yiv4284215087reco-head {  
> color:#ff7900;font-weight:700;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-reco {  
> margin-bottom:20px;padding:0px;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-sponsor #yiv4284215087ov  
> li a {  
> font-size:130%;text-decoration:none;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-sponsor #yiv4284215087ov  
> li {  
> font-size:77%;list-style-type:square;padding:6px 0;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-sponsor #yiv4284215087ov  
> ul {  
> margin:0;padding:0 0 0 8px;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-text {  
> font-family:Georgia;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-text p {  
> margin:0 0 1em 0;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-text tt {  
> font-size:120%;}  
>    
> #yiv4284215087 #yiv4284215087ygrp-vital ul li:last-child {  
> border-right:none !important;  
> }  
> #yiv4284215087

---

<div class="post-metadata">

**Author:** ![elladawu](https://avatars.discourse-cdn.com/v4/letter/e/71c47a/32.png) [@elladawu](https://psychtoolbox.discourse.group/u/elladawu)\
**Post date:** [February 25, 2017, 11:54pm UTC](https://psychtoolbox.discourse.group/t/matlab-toolboxes/120/4 "2017-02-25T23:54:10Z")

</div>

did you run "brew update" before "brew upgrade"?

---

<div class="post-metadata">

**Author:** ![tudorcb](https://avatars.discourse-cdn.com/v4/letter/t/91b2a8/32.png) [@tudorcb](https://psychtoolbox.discourse.group/u/tudorcb)\
**Post date:** [February 26, 2017, 12:13am UTC](https://psychtoolbox.discourse.group/t/matlab-toolboxes/120/5 "2017-02-26T00:13:25Z")

</div>

Yes,  
  
here is some sample output. Now reading into this it looks like some font libraries are not present?  
  
  
---------------------  
brew update  
Already up-to-date.  
  
------------------  
  
octave:1\> ScreenTest  
  
\*\*\*\*\* ScreenTest: Testing Screen 0 \*\*\*\*\*  
PTB-INFO: Retina display. Enabling panel fitter for scaled Retina compatibility mode.  
INTERNAL PSYCHTOOLBOX ERROR  
 error: PsychError\_internal  
 general description: Unspecified error, probably a Psychtoolbox bug  
 specific description: Failed to initialize the window record because the default font for DrawText was not found.  
 module name: Screen  
 subfunction call: OpenWindow  
 file name: OSX/Screen/PsychWindowTextGlue.c  
 function name: PsychInitTextRecordSettings  
 line number: 66  
  
  
  
octave:1\> MovieDemo  
MovieDemo.m is short. Read it to see how easy it   
is to show movies.  
  
PTB-INFO: Retina display. Enabling panel fitter for scaled Retina compatibility mode.  
INTERNAL PSYCHTOOLBOX ERROR  
 error: PsychError\_internal  
 general description: Unspecified error, probably a Psychtoolbox bug  
 specific description: Failed to initialize the window record because the default font for DrawText was not found.  
 module name: Screen  
 subfunction call: OpenWindow  
 file name: OSX/Screen/PsychWindowTextGlue.c  
 function name: PsychInitTextRecordSettings  
 line number: 66  
INTERNAL PSYCHTOOLBOX ERROR  
 error: PsychError\_InvalidWindowRecord  
 general description: An Invalid window record was referenced.  
 module name: Screen  
 subfunction call: WindowKind  
 file name: Common/Screen/WindowHelpers.c  
 function name: PsychCheckIfWindowRecordIsValid  
 line number: 61  
  
  
  
  
  
  
--------------------------------------------  

> On Sat, 2/25/17, [microfish@...](mailto:microfish@...) [PSYCHTOOLBOX] \<[PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)\> wrote:  
>    
> Subject: Re: [PSYCHTOOLBOX] Re: MATLAB Toolboxes  
> To: [PSYCHTOOLBOX@yahoogroups.com](mailto:PSYCHTOOLBOX@yahoogroups.com)  
> Date: Saturday, February 25, 2017, 6:54 PM  
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
>    
> did you run "brew update" before  
> "brew upgrade"?  
>    
>    
>    
>    
>    
>    
>    
>    
>    
> #yiv7281920928 #yiv7281920928 --  
> #yiv7281920928ygrp-mkp {  
> border:1px solid #d8d8d8;font-family:Arial;margin:10px  
> 0;padding:0 10px;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mkp hr {  
> border:1px solid #d8d8d8;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mkp #yiv7281920928hd {  
> color:#628c2a;font-size:85%;font-weight:700;line-height:122%;margin:10px  
> 0;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mkp #yiv7281920928ads {  
> margin-bottom:10px;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mkp .yiv7281920928ad {  
> padding:0 0;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mkp .yiv7281920928ad p {  
> margin:0;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mkp .yiv7281920928ad a {  
> color:#0000ff;text-decoration:none;}  
> #yiv7281920928 #yiv7281920928ygrp-sponsor  
> #yiv7281920928ygrp-lc {  
> font-family:Arial;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-sponsor  
> #yiv7281920928ygrp-lc #yiv7281920928hd {  
> margin:10px  
> 0px;font-weight:700;font-size:78%;line-height:122%;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-sponsor  
> #yiv7281920928ygrp-lc .yiv7281920928ad {  
> margin-bottom:10px;padding:0 0;}  
>    
> #yiv7281920928 #yiv7281920928actions {  
> font-family:Verdana;font-size:11px;padding:10px 0;}  
>    
> #yiv7281920928 #yiv7281920928activity {  
> background-color:#e0ecee;float:left;font-family:Verdana;font-size:10px;padding:10px;}  
>    
> #yiv7281920928 #yiv7281920928activity span {  
> font-weight:700;}  
>    
> #yiv7281920928 #yiv7281920928activity span:first-child {  
> text-transform:uppercase;}  
>    
> #yiv7281920928 #yiv7281920928activity span a {  
> color:#5085b6;text-decoration:none;}  
>    
> #yiv7281920928 #yiv7281920928activity span span {  
> color:#ff7900;}  
>    
> #yiv7281920928 #yiv7281920928activity span  
> .yiv7281920928underline {  
> text-decoration:underline;}  
>    
> #yiv7281920928 .yiv7281920928attach {  
> clear:both;display:table;font-family:Arial;font-size:12px;padding:10px  
> 0;width:400px;}  
>    
> #yiv7281920928 .yiv7281920928attach div a {  
> text-decoration:none;}  
>    
> #yiv7281920928 .yiv7281920928attach img {  
> border:none;padding-right:5px;}  
>    
> #yiv7281920928 .yiv7281920928attach label {  
> display:block;margin-bottom:5px;}  
>    
> #yiv7281920928 .yiv7281920928attach label a {  
> text-decoration:none;}  
>    
> #yiv7281920928 blockquote {  
> margin:0 0 0 4px;}  
>    
> #yiv7281920928 .yiv7281920928bold {  
> font-family:Arial;font-size:13px;font-weight:700;}  
>    
> #yiv7281920928 .yiv7281920928bold a {  
> text-decoration:none;}  
>    
> #yiv7281920928 dd.yiv7281920928last p a {  
> font-family:Verdana;font-weight:700;}  
>    
> #yiv7281920928 dd.yiv7281920928last p span {  
> margin-right:10px;font-family:Verdana;font-weight:700;}  
>    
> #yiv7281920928 dd.yiv7281920928last p  
> span.yiv7281920928yshortcuts {  
> margin-right:0;}  
>    
> #yiv7281920928 div.yiv7281920928attach-table div div a {  
> text-decoration:none;}  
>    
> #yiv7281920928 div.yiv7281920928attach-table {  
> width:400px;}  
>    
> #yiv7281920928 div.yiv7281920928file-title a, #yiv7281920928  
> div.yiv7281920928file-title a:active, #yiv7281920928  
> div.yiv7281920928file-title a:hover, #yiv7281920928  
> div.yiv7281920928file-title a:visited {  
> text-decoration:none;}  
>    
> #yiv7281920928 div.yiv7281920928photo-title a,  
> #yiv7281920928 div.yiv7281920928photo-title a:active,  
> #yiv7281920928 div.yiv7281920928photo-title a:hover,  
> #yiv7281920928 div.yiv7281920928photo-title a:visited {  
> text-decoration:none;}  
>    
> #yiv7281920928 div#yiv7281920928ygrp-mlmsg  
> #yiv7281920928ygrp-msg p a span.yiv7281920928yshortcuts {  
> font-family:Verdana;font-size:10px;font-weight:normal;}  
>    
> #yiv7281920928 .yiv7281920928green {  
> color:#628c2a;}  
>    
> #yiv7281920928 .yiv7281920928MsoNormal {  
> margin:0 0 0 0;}  
>    
> #yiv7281920928 o {  
> font-size:0;}  
>    
> #yiv7281920928 #yiv7281920928photos div {  
> float:left;width:72px;}  
>    
> #yiv7281920928 #yiv7281920928photos div div {  
> border:1px solid  
> #666666;height:62px;overflow:hidden;width:62px;}  
>    
> #yiv7281920928 #yiv7281920928photos div label {  
> color:#666666;font-size:10px;overflow:hidden;text-align:center;white-space:nowrap;width:64px;}  
>    
> #yiv7281920928 #yiv7281920928reco-category {  
> font-size:77%;}  
>    
> #yiv7281920928 #yiv7281920928reco-desc {  
> font-size:77%;}  
>    
> #yiv7281920928 .yiv7281920928replbq {  
> margin:4px;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-actbar div a:first-child {  
> margin-right:2px;padding-right:5px;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mlmsg {  
> font-size:13px;font-family:Arial, helvetica, clean,  
> sans-serif;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mlmsg table {  
> font-size:inherit;font:100%;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mlmsg select,  
> #yiv7281920928 input, #yiv7281920928 textarea {  
> font:99% Arial, Helvetica, clean, sans-serif;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mlmsg pre, #yiv7281920928  
> code {  
> font:115% monospace;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mlmsg \* {  
> line-height:1.22em;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-mlmsg #yiv7281920928logo {  
> padding-bottom:10px;}  
>    
>    
> #yiv7281920928 #yiv7281920928ygrp-msg p a {  
> font-family:Verdana;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-msg  
> p#yiv7281920928attach-count span {  
> color:#1E66AE;font-weight:700;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-reco  
> #yiv7281920928reco-head {  
> color:#ff7900;font-weight:700;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-reco {  
> margin-bottom:20px;padding:0px;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-sponsor #yiv7281920928ov  
> li a {  
> font-size:130%;text-decoration:none;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-sponsor #yiv7281920928ov  
> li {  
> font-size:77%;list-style-type:square;padding:6px 0;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-sponsor #yiv7281920928ov  
> ul {  
> margin:0;padding:0 0 0 8px;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-text {  
> font-family:Georgia;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-text p {  
> margin:0 0 1em 0;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-text tt {  
> font-size:120%;}  
>    
> #yiv7281920928 #yiv7281920928ygrp-vital ul li:last-child {  
> border-right:none !important;  
> }  
> #yiv7281920928
