Clear Filters
Clear Filters

javaPlex, api.Plex4, error undefined variable api

2 views (last 30 days)
I have recently bought and installed Matlab 2016b. I'm using javaPlex software but, after running of load_javaplex.m as required, I check that Javaplex is working properly with the following command:
>> api.Plex4.createExplicitSimplexStream()
and the answer is
Undefined variable "api" or class "api.Plex4.createExplicitSimplexStream".
I was informed by a friend that the same program is running properly with an older version of Matlab (I remind something like R2011 or r2012. I need some suggestion if possible.
Regards
Paolo Paoli

Answers (1)

Henry Adams
Henry Adams on 23 Jun 2017
Hi Paolo,
Sorry I just saw this question now. Feel free to email questions about Javaplex to me (Henry Adams at Colorado State University) directly.
You need to enter both
>> load_javaplex
and
>> import edu.stanford.math.plex4.*;
into the Matlab window. Make sure that you are in the correct matlab_examples folder where load_javaplex appears. These instructions are now also updated in the tutorial (Section 1.3):
Does that work for you? Please reply by emailing me; you can find my email at my website:
Best, Henry

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!