Installation of robot-10.1.mltbx deletes the installed Machine Vision Toolbox?

359 views
Skip to first unread message

Ahmet Sekercioglu

unread,
Sep 5, 2017, 5:56:54 AM9/5/17
to Robotics & Machine Vision Toolboxes
Dear All,

I have installed "Machine Vision Toolbox for MATLAB.mltbx" downloaded from petercorke.com... a quick test shows that it is installed:

>> anaglyph
Not enough input arguments.

Error in anaglyph (line 69)
    left = imono(left);

The I have installed "robot-10.1.mltbx". It somehow removes the Machine Vision Toolbox:

>> anaglyph
Undefined function or variable 'anaglyph'.

Have you encountered this problem? I am using Matlab R2016b.

Ahmet Sekercioglu

Erik van Oene

unread,
Sep 5, 2017, 11:13:15 AM9/5/17
to Robotics & Machine Vision Toolboxes
Op dinsdag 5 september 2017 11:56:54 UTC+2 schreef Ahmet Sekercioglu:
HI,

Can you show use the output of the following command


>>which anaglyph -all

Erik

Ahmet Sekercioglu

unread,
Sep 5, 2017, 2:15:21 PM9/5/17
to robotics...@googlegroups.com
I have just freshly installed the Machine Vision Toolbox, the output
of the command is:

>> which anaglyph -all
/home/ahmet/Documents/MATLAB/Add-Ons/Toolboxes/Machine Vision Toolbox
for MATLAB/code/vision/anaglyph.m
>>

Now, I have installed the robot-10.1.mltbx

and the result is:

>> which anaglyph -all
'anaglyph' not found.

I am using Linux (ubuntu), "Documents" directory is a little bit of a
strange location to place the add-ons? I have just looked in the
Documents directory, there is something strange, I see two
subdirectories:

Add-Ons and MATLAB,

under Add-Ons:

ahmet@rhea 20:11 ~/Documents : ls Add-Ons/Toolboxes/
Robotics Toolbox for MATLAB

And, under MATLAB, same directory structure exists:

ahmet@rhea 20:12 ~/Documents : ls MATLAB/Add-Ons/Toolboxes/
Robotics Toolbox for MATLAB

No sign of Machine Vision toolbox ????
> --
> You received this message because you are subscribed to the Google Groups "Robotics & Machine Vision Toolboxes" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to robotics-tool-...@googlegroups.com.
> To post to this group, send email to robotics...@googlegroups.com.
> Visit this group at https://groups.google.com/group/robotics-tool-box.
> For more options, visit https://groups.google.com/d/optout.



--
Ahmet Şekercioğlu - http://sekerci.info - https://www.hds.utc.fr

Erik van Oene

unread,
Sep 7, 2017, 3:09:47 PM9/7/17
to Robotics & Machine Vision Toolboxes
Sorry but I cannot help you any further at the moment as I don't have access to Matlab at the moment due to my holiday

The only think I can think off at the moment is that the new version doesn't contain that function anymore or that the installation didn't went well. Can you acces the other function of the toolbox?

Erik

Ahmet Sekercioglu

unread,
Sep 9, 2017, 12:10:25 PM9/9/17
to robotics...@googlegroups.com
Thank you very much Erik, I think installation script has a bug. I
guess most of the people use Matlab on Windows, not on Linux, and the
installation packages are pretty new this problem hasn't been noticed
before.

Erik van Oene

unread,
Sep 10, 2017, 2:32:08 AM9/10/17
to Robotics & Machine Vision Toolboxes
Hi Achmed,

You could run that script line by line manually and check out what is happening.
If there is a bug, you may be able to find it and maybe even solve it.

Erik

Ahmet Sekercioglu

unread,
Sep 10, 2017, 5:23:44 AM9/10/17
to robotics...@googlegroups.com
Hi Erik,

I will try soon... I don't have any experience with self-installing
Matlab packages but i will search around.

hui....@uconn.edu

unread,
Sep 11, 2017, 4:02:54 PM9/11/17
to Robotics & Machine Vision Toolboxes
I have the same issue here on Linux. So I just downloaded the zip file instead and include the path by hand.

Erik van Oene

unread,
Sep 11, 2017, 4:09:20 PM9/11/17
to Robotics & Machine Vision Toolboxes
Hi Achmed,

Or you can try the zip file version. Unzip it in de desired folder and than run startup_rvc.m

Erik

Ahmet Sekercioglu

unread,
Sep 12, 2017, 9:07:34 AM9/12/17
to robotics...@googlegroups.com
Yes, I have given up on self-installing .mtbx files, and installed the
.zip files in my local
matlab directory, added the following lines into my Matlab "startup.m":

%
addpath /home/ahmet/lib/matlab/rvctools
disp('Initializing robotic vision toolboxes.')
run startup_rvc.m
%

All is going well so far.

Faiz Azuwir

unread,
Sep 20, 2017, 12:58:44 AM9/20/17
to Robotics & Machine Vision Toolboxes
Hi,
Im just wondering if you are able to use the ikcon function for inverse kinematics. I wasnt able to and need my code to be verified

Bryce Mack

unread,
Oct 16, 2017, 11:01:12 AM10/16/17
to Robotics & Machine Vision Toolboxes
I have had the same issue with trying to install both Toolboxes. When I have one installed, installing the other just uninstalls the toolbox that was previously installed.

I am trying to run the sl_quadrotor_vs.slx model to see what it does. When I have the RTB (Robotics Toolbox) installed, I get an error that the function SphericalCamera is not recognized. I realized that this function was included in the MVTB (Machine Vision Toolbox). That's when I started trying to install both toolboxes and discovered that they would uninstall each other.

So then I found this forum and decided to try doing the toolbox addition through just the zip files. I ran startup_rvc for each and saw that MATLAB had the PATH set correctly. 

I opened sl_quadrotor_vs and tried to run it again. This time I got the error

=== Simulation (Elapsed: 5 sec) ===
    ----- creating workspace variables: camera, quad, P, pstar
    principal point not specified, setting it to centre of image plane
    Error:Error in port widths or dimensions. Output port 1 of 'sl_quadrotor_vs/lambda' is a one dimensional vector with 1 elements.
    Error:Error in port widths or dimensions. Input port 1 of 'sl_quadrotor_vs/Demux' is a one dimensional vector with 4 elements.

Unsure of what is causing this error. It look like a signal is trying to get MUXed into 4.

tde....@gmail.com

unread,
Oct 19, 2017, 6:38:35 PM10/19/17
to Robotics & Machine Vision Toolboxes
how could we use cam.plot with Tc = eye(4); Thnx

Peter Corke

unread,
Oct 23, 2017, 7:54:29 AM10/23/17
to Robotics & Machine Vision Toolboxes
Are you installing as zip files or mltbx files.  The latter is newer and there might be unintended issues.

Peter

Bryce Mack

unread,
Oct 23, 2017, 11:37:45 AM10/23/17
to Robotics & Machine Vision Toolboxes
I did install as zip files and everything works! However, there is still an issue with both Toolboxes installed and trying to run sl_quadrotor_vs.slx

Djamel Eddine

unread,
Oct 23, 2017, 3:32:02 PM10/23/17
to robotics...@googlegroups.com
I had installés the aip files
--
You received this message because you are subscribed to a topic in the Google Groups "Robotics & Machine Vision Toolboxes" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/robotics-tool-box/SkO7P8vslZo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to robotics-tool-box+unsubscribe@googlegroups.com.
To post to this group, send email to robotics-tool-box@googlegroups.com.

Djamel Eddine

unread,
Oct 24, 2017, 10:47:52 AM10/24/17
to robotics...@googlegroups.com
I had installed the zip file

Djamel Eddine

unread,
Oct 24, 2017, 6:06:09 PM10/24/17
to robotics...@googlegroups.com
Hello sir;
Could you make a video about the main steps used to install the visual servoing toolbox and robtic toolbox in order to run sl_quadrotor_vs. Thanks in advance.
On Monday, October 23, 2017, Peter Corke <peter....@gmail.com> wrote:
--
Message has been deleted

Peter Corke

unread,
Oct 31, 2017, 4:05:04 PM10/31/17
to Robotics & Machine Vision Toolboxes
Bryce, can you share details of the "issue"

Bryce Mack

unread,
Nov 14, 2017, 12:30:33 PM11/14/17
to Robotics & Machine Vision Toolboxes
Yes. Sorry for the late reply.

The issue still remains when I have both toolboxes installed through zip files and try to run sl_quadrotor_vs. 

The error reads:

----- creating workspace variables: camera, quad, P, pstar
principal point not specified, setting it to centre of image plane
Error in port widths or dimensions. Output port 1 of 'sl_quadrotor_vs/lambda' is a one dimensional vector with 1 elements.
Component:Simulink | Category:Modelerror
Error in port widths or dimensions. Input port 1 of 'sl_quadrotor_vs/Demux' is a one dimensional vector with 4 elements.

However, I don't think I will need to use this model for my project. I am sticking with the sl_quadrotor model for running simulations.

I will be checking this Group if there is ever a fix uploaded.

Thank you!

marc

unread,
Dec 6, 2017, 2:56:24 PM12/6/17
to Robotics & Machine Vision Toolboxes
I still get the same issue. When I install either add-on (robotics toolbox or the machine vision toolbox), it deletes the other toolbox. I can't get them both installed using the ".mltbx" files. I'll install from .zip for now, but thought you might want to know.

thanks,
Marc 

marc

unread,
Dec 6, 2017, 2:57:36 PM12/6/17
to Robotics & Machine Vision Toolboxes
Sorry, just a tad more detail. I am trying this with the newest toolboxes as of today (6 Dec 2017) and on a windows 10 machine. 

Hu Yuan

unread,
Dec 7, 2017, 4:51:49 AM12/7/17
to Robotics & Machine Vision Toolboxes
I installed both toolboxes successfully in Windows 10, the key step is:

Rename the "rvctools" from  "robot-10.2.zip" to "rvctools-rtb", and rename the "rvctools" from "vision-4.1.zip" to "rvctools-mvtb".

you can use any folder names, just make sure these two "rvctools" have different names. Then, install these toolboxes as usual.
Hope this can work on your computer, good luck

Marc Killpack

unread,
Dec 7, 2017, 4:34:35 PM12/7/17
to robotics...@googlegroups.com
Thanks for the suggestion. Installing from the .zip files isn't the
problem though. I can do that and it works just fine. What doesn't
seem to work is installing the two .mltbx files together. It may be
something to fix at some point or just move back to .zip files only is
all I'm suggesting.


best,
Marc Killpack
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Robotics & Machine Vision Toolboxes" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/robotics-tool-box/SkO7P8vslZo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> robotics-tool-...@googlegroups.com.
> To post to this group, send email to robotics...@googlegroups.com.

Peter Corke

unread,
Dec 9, 2017, 6:12:51 PM12/9/17
to Robotics & Machine Vision Toolboxes
Marc,

thanks for the extra details.  I've been blind to this since I work directly out of the development branch and the test the toolboxes independently when I bundle up releases.

I can verify that I see this problem.  Only the last install sticks, the previous one goes.   The files are removed and it's no longer listed in the Addons manager screen.

I'm using a Mac, and it looks like others have had problems with Linux.

I will log this as a MATLAB support job.

Thanks everybody who previously reported it, and sorry for the delay in action.  

Peter

Peter Corke

unread,
Dec 16, 2017, 5:13:52 PM12/16/17
to Robotics & Machine Vision Toolboxes
Just an update, no solution yet.

I logged this with MathWorks and they can duplicate the problem (good) and I've shipped them some other data they asked for, but they haven't given me a fix yet.  Will keep you all posted.

peter
Reply all
Reply to author
Forward
0 new messages