Getting Started

A short guide to installing Simbus products and getting a license file.

Getting started with Simbus products

Introduction

This page covers installing Simbus products & getting a License File quickly if you are an Individual Licensee.

If you are a Technical Administrator and you received License Keys on behalf of someone else in your Organization, then we recommend that you read the following instead:

  1. Section 6.3.4 (“Managing License File Requests for Other End Users”) in the user guide and
  2. All of chapter 7 (“Complex Licensing Scenarios”) in the user guide.

Terms used on this page which have their first letter(s) in uppercase are defined in the FAQ.

Steps to Follow

The figure below shows the steps that you need to take in order to install the Products and to get a License File to start using them.  These steps are described after the figure.

STEP 1: Download and Install Products

Simbus Products are distributed as a single file called a Simbus Distribution File (SDF). The SDF can be downloaded on your platform using the download link that is provided in the email containing your License Key(s).

The SDF uses the MATLAB toolbox file format and have the “.mltbx” file extension. This is a MathWorks-defined cross-platform format and permits installation of the Products to be managed easily from within MATLAB.

Download the Products

  • Click on the download link in your fulfillment email to download the SDF and then save it to a convenient directory.  (We have saved it to the Documents\MATLAB directory on our Windows Platform for this example.)
  • If you wish to verify the SDF, then please read this page.

A single download of the SDF is sufficient even if you have purchased multiple licenses.  The SDF is the same irrespective of License Type.

Install the Products

  • Start MATLAB normally – make sure that you run MATLAB with Java (starting MATLAB without Java is an unusual thing to do!).
  • Now go to the HOME tab in MATLAB as shown below:
Image to show initiation of Simbus Products Install in MATLAB.
  • Click on “Open”. This will open the file dialog as shown below (this may look slightly different depending on your Platform – the dialog shown below was captured on a Windows Platform):
An image to show how the Simbus Distribution File (a MATLAB toolbox file) is selected.
  • Navigate to the directory where you saved the SDF.
  • Select the SDF and then click on the Open button. This will open the MATLAB Add-On Manager and initiate the installation. The final stage of the installation is shown below:
An image of the MATLAB Add-On Manager showing successful installation of Simbus Products.
  • Click the Close button to complete the installation and to open the GettingStarted Live Code file as shown below.
An image of the GettingStarted document that can be opened following successful installation of Simbus Products.
  • Click the Close button to complete the installation and to open the GettingStarted Live Code file as shown below. This file provides a more in-depth description of getting a License File. A PDF of the GettingStarted file can be found here. Please note that the GettingStarted file assumes that you have installed the Products already and mainly covers how to get a Licence File.  Product installation is presented in this section and in section 5.9 of the user guide.

STEP 2: Create License File Request(s) Using GetMyLicenseFile

License Files are issued by Simbus after receiving one or more License File Requests (LFRs).  An LFR is a file that contains the License Key(s) that you purchased (or received after a Trial Request) and information about you (such as your login credentials) and the Platform on which you will use the Products.

LFRs are created using the GetMyLicenseFile function. GetMyLicenseFile is a MATLAB function that is available for use following installation of Simbus Products.

GetMyLicenseFile must be executed on the same Platform on which you intend to use the Products!

GetMyLicenseFile has many options and can be run in interactive mode or noninteractive mode (useful for Technical Administrators who make LFRs on behalf of others).  We will describe how to use it in interactive mode only (the introduction above provides information if you are a Technical Administrator).

Detailed information on GetMyLicenseFile usage can be found by issuing the following from the MATLAB command prompt:

				
					doc GetMyLicenseFile
				
			

Run GetMyLicenseFile in MATLAB by issuing the following from the MATLAB command prompt:

				
					GetMyLicenseFile
				
			

If you have a License Key for a Commercial License, then the output of a typical interactive session with GetMyLicenseFile is shown below (with user responses shown in boldface). An interactive session with GetMyLicenseFile for the case that you have other License Key types (Academic, Student, Trial, Run-Time) will look very similar.  You are required to provide an image of your student ID if you are a student.

>> GetMyLicenseFile
 
***
***Welcome to the GetMyLicenseFile Interactive Utility***
***
 

Follow the instructions to request a License File. This utility will create a License File Request (LFR) – a file that contains your request(s) based on the License Key(s) that you have purchased.

 
If you have not yet provided your contact details, then please do so before continuing by clicking on this link: simbus.com/contact/.

***TYPE “STOP” (WITHOUT QUOTES) TO INTERRUPT THIS UTILITY AT ANY TIME***
 
SELECT YOUR ROLE. (1) Individual End User or (2) Technical Administrator. Type “1” or “2” (without quotes) then press the ENTER key.

A warning message box will be displayed to remind you to select your role appropriately (you are an Individual Licensee in this case).  Click on “OK” and select “Individual End User” by entering “1” at the prompt.

An image of the role selection warning that is raised by GetMyLicenseFile when you are requested a license file to use Simbus products.

Entering “1” at the prompt will now prompt you for your License Key and your details.

Make sure to provide your email address accurately!  The Simbus Licensing Team will send the License File to the email address that you provide to GetMyLicenseFile.

# ROLE IS (1) INDIVIDUAL END USER or (2) A TECHNICAL ADMINISTRATOR>> 1
 
===> OK.
 
ENTER LICENSE KEY. Enter your License Key and then press ENTER.
 
# LICENSE KEY>> SIMBUS_BONDGRAPHS.COM.B0DE-15EE-C0FF-EE1F
 
===> OK.
 
WHAT IS YOUR FULL NAME? We will use this in correspondence to you.
 
# FULL NAME>> Mr. John Doe
 
===> OK.
 
WHAT IS YOUR EMAIL ADDRESS? The License File will be sent to this address to complete order fulfillment.
 
# EMAIL ADDRESS>> john.doe@zequals1.com
 
===> OK.
 
SPECIFY LFR FILENAME. (1) Use default (“MyLicenseFileRequest.lfr”) or (2) Specify another LFR filename. Type “1” or “2” (without quotes) then press the ENTER key.
 
# (1) USE DEFAULT LFR FILENAME OR (2) SPECIFY ANOTHER>> 1
 
===> OK.
 
GENERATING LFR. Please be patient …
 
========================================================================
The LFR “MyLicen….uest.lfr” has just been ***CREATED*** at 20-Dec-2023
15:01:20 with License File Request
4D46-B7D1-B4C1-9FDE-A47C-67B4-C808-559C with the following parameters
provided to GetMyLicenseFile (Release SR2022.1.0.1):
========================================================================
ORG: Your organization: MR. JOHN DOE
 
This should be the name of the Licensee Organization that licenses the
software or your name in the case that you are the Licensee.
————————————————————————
TAE: Email address of your Technical Administrator: john.doe@zequals1.com
 
This should be the email address of the person responsible for setting
up Simbus (R) products on this platform. If you are the Licensee, then
this should be your email address.
————————————————————————
LEM: Email address of your Licensee Point of Contact: john.doe@zequals1.com
 
This is the email address of the person at the Licensee Organization who
authorized the purchase of the license(s). If you are the Licensee,
then this should be your email address.
————————————————————————
EUN: Username of the End User on this win64 platform: juniper\jdoe
 
This is the username on this platform of the person (the “End User”) who
will use the purchased license(s). If you are the Licensee, then this
should be your username on this platform. This information ***HAS
NOT*** been written to “MyLicen….uest.lfr” in cleartext for privacy
and security reasons. The username was converted to a one-way hash so
that the original value cannot be read. The username hash (see below)
forms part of the License File Request and is used by the licensing
software to ensure that only the End User has access to the license(s)
that was (were) purchased.
————————————————————————
Username hash: F7CA25BAE62F0C80B4D02754225CE035
 
This is the one-way hash of the username above and ***HAS*** been
written to “MyLicen….uest.lfr” as part of the request. The username
of the End User must have the same one-way hash as above for the license
to work.
========================================================================
ATTENTION: REMEMBER TO SEND THE LFR “MyLicenseFileRequest.lfr” TO
licensing@simbus.com AFTER YOU HAVE CREATED ALL OF YOUR REQUESTS TO GET
YOUR LICENSE FILE! THE SIMBUS LICENSING TEAM WILL PROCESS YOUR REQUESTS
IN THE ABOVE LFR AS SOON AS POSSIBLE.
========================================================================
You will be reminded to read the terms and conditions of the license agreement by a warning dialog. Clicking on “OK” will return you to the MATLAB command prompt.
An image of the warning raised by GetMyLicenseFile that the products terms and conditions apply as soon as a license file to use Simbus products is generated. Remember to send your License File Request (the file with .lfr extension) to licensing@simbus.com .

STOP!

Review the output of GetMyLicenseFile!  Did you:

  • Run GetMyLicenseFile on the Platform on which you intend to use the Products?
  • Did you provide the correct License Key?
  • Did you provide the correct email address?

If the answer is “No”, then:

  • Delete the LFR that you just created.
  • Re-run GetMyLicenseFile on the Platform on which you intend to use the Products.
  • Provide the correct License Key and email address.

STEP3: Send LFR to the Simbus Licensing Team

Now email your LFR as an attachment to the Simbus Licensing Team at licensing@simbus.comYou acknowledge that you will be bound by the terms and conditions of the license agreement after the License File is generated.

The Simbus Licensing Team will use the LFR to create your License File.  It will be sent to the email address that you provide to GetMyLicenseFile in step 2.

STEP4: Receive License File

You will receive your License File at the email address that you provided in your LFR.  It will be named according to the details that you provided to GetMyLicenseFile and the LFR creation time.  For the example details provided in step 2 above, the License File will be named as follows:

MR_JOHN_DOE_2022_03_19_15_01_20.slf

Save the License File to a convenient directory.  Ideally, this directory should be on the MATLAB search path.

Make sure to make a backup of your License File!

STEP5: Modifying MATLAB's Startup Sequence

Save the License File to a convenient directory.  Ideally, this directory should be on the MATLAB search path.

We recommended that you modify your MATLAB startup sequence so that Simbus Products can find your new License File even if it is not on the MATLAB search path. This will allow you to use Simbus products immediately after starting MATLAB. We also recommend that you do this as soon as you receive your new license file.

If you have a startup.m file already then open it and place the following code before any calls to Simbus functions that you may have:

				
					simbus_license_file('MR_JOHN_DOE_2022_03_19_15_01_20.slf');
				
			

You may also specify a full path to your License File.  On Windows Platforms, you should provide a Windows-compatible path:

				
					simbus_license_file('C:\Users\jdoe\Documents\MR_JOHN_DOE_2022_03_19_15_01_20.slf');
				
			

On Ubuntu (Linux) Platforms, you should provide a Unix-compatible path:

				
					simbus_license_file('/home/jdoe/documents/MR_JOHN_DOE_2022_03_19_15_01_20.slf');
				
			

Now:

  • Save your startup.m and close it.
  • Either quit and re-start MATLAB or simply re-run startup.m from the MATLAB command prompt:
				
					startup
				
			

The properties of your License File can now be interrogated.  For example, to get the end date (expiration date) of your License, then issue the following command at the MATLAB command prompt:

				
					simbus_license_info('end_date')
				
			

You will need to supply your LFR ID in order to submit a service request (if your License permits – see Q3.4 of the FAQ).  This can be obtained by issuing the following command at the MATLAB command prompt:

				
					simbus_license_info('lfr_id')
				
			

If you do not have a startup.m file already, then you may want to use the one provided in the Products.  Issue the following at the MATLAB command prompt:

				
					edit example_startup.m
				
			

Save the above file as startup.m in the directory where you normally start MATLAB and edit lines 34 and 35 as shown in the figure below:

An image of the example startup.m file (named example_startup.m) provided with Simbus Products. Use this file to create your own MATLAB startup.m file if necessary and to register your License File during MATLAB startup.

The GettingStarted Live Code file has more information on this.  Open it from MATLAB as follows:

				
					edit GettingStarted.mlx
				
			

A PDF of GettingStarted is available here and is also distributed with the Products and can be opened from MATLAB using:

				
					open GettingStarted.pdf
				
			

You should now be able to use the Products.  Try opening one of the simplest examples provided with Simbus Bondgraphs:

				
					ex_series_R
				
			

The following model should now open:

An image of an example model in Simbus Bondgraphs software for MATLAB and Simulink that contains a bond graph of a 1-port resistance in series with a power source.

Double-clicking on the circuit diagram should show the following view:

An image of the internals of the ex_series_R example provided with Simbus Bondgraphs indicating successful license file registration as shown by the visibility of the bond graph icons.

You should now be able to run this model.  Try exploring the other examples provided in Simbus Bondgraphs too:

				
					lib_simbus_bondgraphs