covartech / PRT

Pattern Recognition Toolbox for MATLAB
http://covartech.github.io/
MIT License
145 stars 70 forks source link

PRT Document Update #64

Closed jonioni closed 6 years ago

jonioni commented 6 years ago

Some of the code in the PRT documents doesn't work when using MATLAB online. The PRT package was installed through the online add-on market.

peterTorrione commented 6 years ago

Hi Jon,

Can you give an example of what you are trying to do, what tutorial you are looking at, and what goes wrong?

peterTorrione commented 6 years ago

Also, whether the issue happens only in MATLAB online, or in desktop MATLAB? I'm not sure we developed the PRT to be MATLAB Online friendly

jonioni commented 6 years ago

Thank you for your attention.

For "Quick Start":

For "Getting Started Examples":

The errors happened when using MATLAB Online.

peterTorrione commented 6 years ago

Hi,

I think you need to run something like:

>> cd covartech-PRT-4fdf9e6/
>> prtPath

Before running these commands. Otherwise, the PRT path is incomplete. This is detailed in the installation instructions (http://covartech.github.io/prtdoc/prtDocInstallation.html) but not in the Quick Start Guide - we can add it in there if that is helpful.

After I do that, the remainder of your code works fine, I think - See

cap01

and

cap02

Let us know if that helps

jonioni commented 6 years ago

It's strange that my previous package directory looked like this:

image

Everything is normal now after reinstalling the package.

image

Also I think there is no need in using the "prtPath" command, since packages installed from the official add-on market are automatically added to the path.

Thank you for your help.

peterTorrione commented 6 years ago

No problem! I still dont fully understand what was happening! We didnt design for MATLAB Online, so, to be frank, I am amazed this works at all.

Please let us know if you have other issues on the GITHUB. We dont follow the web-page for the MATLAB Add-On