Re: MATLAB Connector 1.2 Free Download

0 views
Skip to first unread message
Message has been deleted

Scat Laboy

unread,
Jul 18, 2024, 4:04:15 AM7/18/24
to somtonatu

I have a problem on my Mac OS X 10.11.5 Beta (15F31a), with MATLab R2016a (9.0.0.341360). When I install the MATLab Drive Connector from the website as matlabdrive.mlpkginstall or from the add-ons menu in MATLab itself, it works absolutely fine; it synchronises my files and displays its logo in the menu bar top-right, through which I can access its menu/settings/etc.

MATLAB Connector 1.2 free download


Download File https://ssurll.com/2yMMUh



However, upon the second start-up of my computer; MATLab Drive Connector is no longer usable. When I open it; an empty menu space is created in my menu items; and when clicking on that space, it's marked as selected; but nothing else happens, nor are my files synchronised. When I have selected the MATLab Drive Connector to start at startup right after its installation, the empty space is immediately created, with the same effects. When MATLab Drive Connector is forcibly stopped via Activity Monitor; the empty space will disappear. I have attached a screen recording [1] of this issue.

EDIT:
however since two days, even when attempting to de/re-install, I get the error "The specified key is not present in the current container", as shown in the attached screenshot [2] preventing me from doing anything to fix this issue.

I had a similar issue under Win 10. Typically Connector can be started by clicking its icon in the MATLAB folder in the Start Menu. This however requires a confirmation of User Account Control (UAC). So one needs to eliminate that, so that it doesn't cause an issue on start-up.

The MATLAB connector is no longer listed as an available option within Power BI. This change prompts the question of why it has been removed or is no longer accessible within the Power BI environment.

I want to use it MATLAB production server, which I'm currently not able to.

A possible way to work with Simulink is to parse the persisted model files.As a well known major problem with this approach is that the format of the serialized models might change over time(e.g. in 2012 suddenly the .slx format became default instead of the .mdl),causing extensive additional work to adapt to these changes for tools based on parsing serialized MATLAB file formats.For this reason, Massif uses the Java interface of a running MATLAB and discovers the model using Simulink modelspecific MATLAB commands.This way it is independent from the format of the files in which models are stored.However, it requires at least one running MATLAB instance to work.Currently, three MATLAB Connectors are supported:

Command Evaluation Server (in CE Server):it runs within the running MATLAB instance itself.To support this version, an additional server component (called MatlabServer) is needed to be downloadedfrom separate links provided for each version in the overview (details on how to set it up is discussed later).

If you would like to use the matlabengine connector from plain java application, please use themassif/maven/massif-matlabengine/.In this case, MATLABROOT must be set as an environmental variable pointing to your MATLAB root foldercontaining the /bin folder (for example: C:\Program Files\MATLAB\R2018b).

This allows connection to an already running MATLAB session.In order to do so, a MatlabServer has to be started from within MATLAB.After you downloaded thezipcontaining the MatlabServer, extract it to a folder on your computer, then make that folder as your current folder in MATLAB.

Edit the Java properties file named matlabserverconfig.properties with the serveraddress and serverport parameters.For example, set serveraddress = 127.0.0.1 and serverport = 1098. Run the setup_remote script.On the screen it will print the registered service name, which has to be entered on the preference page in Eclipse.If everything works well, you should get an output similar to the following:

Copy the service name into the 'Service name' field in the Simulink Preferences window.Execute addpath(%MASSIF_LOCATION%\git\massif\plugins\hu.bme.mit.massif.simulink.api\scripts')command in MATLAB to add scripts used by Massif to your MATLAB workspace.

Open the matlabserverconfig.properties file (next to the setup-remote script) and uncomment the debug = true line.If this property is set, the MATLAB console will print each executed command and you may be able to solve some issuesthat are hard to debug on the client side.

Another option is to use the open source MatlabControl Java APIfor communicating with MATLAB.This is integrated to Massif, the user can select this in Eclipse under the Window/PreferencesSimulink preferences page.

This connector handles MATLAB sessions itself.Currently it operates the following way: opens a new MATLAB instance at the first call and executes all the required commandsin this instance.
To use this connector you also have to execute theaddpath(%MASSIF_LOCATION%\git\massif\plugins\hu.bme.mit.massif.simulink.api\scripts')command to add MATLAB scripts used by Massif to your MATLAB workspace.
Connection or reconnection to a running MATLAB session is not supported with this connector.

Important: If you use additional libraries in Simulink, you will have to make sure themassif_functions.mscript is on the MATLAB search path when you are running the import(see issue #80 for details).

The driving.connector.Connector class creates an interface between a custom visualization or analysis tool and a signal in the Ground Truth Labeler app. You can use the connector with video and image sequence signals only.

Sync an external tool to each frame change event for a specific signal loaded into the Ground Truth Labeler. Syncing allows you to control the external tool through the range slider and playback controls of the app.

Define a client class that inherits from driving.connector.Connector. You can use the Connector class template to define a class and implement your custom visualization or analysis tool. At the MATLAB command prompt, enter:driving.connector.Connector.openTemplateInEditorFollow the steps found in the template.

Time of the frame currently displaying in the app for the connected signal, specified as a real scalar in seconds. If the slider is between two timestamps, then the currently displaying frame is the frame that is at the previous timestamp. For more details, see Control Playback of Signal Frames for Labeling.

Timestamps for the connected signal, specified as a duration vector. This signal must be the main signal. If you change the main signal, the TimeVector property updates to the timestamps for new main signal.

Label data imported from the external tool, specified as a two-column table. The first column contains the timestamps of the connected signal and the second column contains the label information that you specify for the corresponding timestamp.

Names of labels, specified as a character vector, a string scalar, a cell array of character vectors, or a string array. These names must be valid MATLAB variables that correspond to the label names specified in the second column of LabelData.

Descriptions of labels, specified as a character vector, a string scalar, a cell array of character vectors, or a string array. Each description of LabelDescription corresponds to a label specified in LabelName.

For an example of an external tool, see this driving.connector.Connector class implementation. This class implements a lidar visualization tool. You can use this code as a starting point for creating your own tools.edit LidarDisplay

To keep an external tool synchronized with the app, specify timestamps that are at the same frame rate as the signals loaded in the app. If the tool visualizes data at a timestamp that is between two frames, then the app displays the frame that is at the previous timestamp. For more details, see Control Playback of Signal Frames for Labeling.

Is it possible to use JMP functions in MATLAB (not MATLAB in JMP)? Would like to use MATLAB to create a forloop to analyze different types of files/data using the same JMP "fit competing mixture" function in the Life Distribution platform, and have the parameters from the different types of files/data saved in the same file (not sure if there is a better way to do this?) Thank you!

What would Matlab do here, is there some other analysis you are doing in Matlab that you don't want to do in JMP instead? I've found it to be easier to call other languages from JMP than the other way around, especially considering the Matlab connector you perhaps already found. To answer your question though, I believe the automation reference will get you started.

Thanks for the reply. The links show how to do MATLAB in JMP instead of calling JMP functions in MATLAB. It's mostly that MATLAB is easier to work with in coding, because it can deal with matrices easier.

I have to object( in only gentle terms ) of your statement "MATLAB is easier to work with in coding, because it can deal with matrices easier.". Are you aware that JMP has full matrix manipulation capabilities? I will point you too the Scripting Guide's section on Matrices starting on Page 194, and covering roughly 50 pages.

I am very interested in getting your evaluation, if you still find Matlab easier to do matrix manipulations after looking at the JMP documentation. This is a true request. If you find JMP's matrix abilities less than favorable, I would like to be educated on what you find.

Thanks so much! I think it might be more my problem, because MATLAB's coding style seems a little bit more intuitive for me to learn. I'm starting to learn JSL, and it seems at first glance that JSL's style is more similar to R studio, which I'm not as used to.

MATLAB Simulink Connector integrates Simulink effortlessly with Aras Innovator and bridges the gap between design and lifecycle management. This connector enhances traceability and ensures that your Simulink models seamlessly align with your organization's Product Lifecycle Management strategy.

The usage is very user-friendly, as explained on UndocumentedMatlab.com (for example, case-insensitive parameter names with default values, different ways to specify start/end dates, etc.) Some usage examples are below.

b1e95dc632
Reply all
Reply to author
Forward
0 new messages