New ME-databases released

   

Metallurgical

   

Nobody knows the future,

   

New features of MatCalc 6

   

Engineering your material,

 

Check the new version highlights

 

Processing Solutions

but we can simulate it...

Learn more about them

enjoy your success

Spring'17 release of ME-databases

  • How can I start multiple MatCalc instances?

Diagnosis

   I want to run several instances of MatCalc at the same time.

   When I start MatCalc on Mac iOS and one instance is already running, my Mac only activates the existing instance and does not start a new one.

Background

   When using MatCalc on Windows or Linux, these operating systems will always start new instances of MatCalc when the user double clicks on the MatCalc icon on the desktop. On Mac, the OS will always try to activate an already existing instance, instead.

Solution

   Windows and Linux

      Double click the MatCalc icons or start from the command line:

         Windows: Type “mcg” in the command prompt.

       Linux: Start MatCalc with ”./mcg” (from the current MatCalc directory) or “mcg” when installed in another folder with the path variable correctly set.

   Mac

      Open the terminal.

      Change directory to the MatCalc executable (“cd path_to_matcalc”).

      On the command prompt, enter “open -na mcg

 

  • How can I pass command line arguments to MatCalc?

Diagnosis

   I want to start MatCalc and automatically run a script. How can I do this?

  I want to start MatCalc and pass on command line arguments, for instance, to restore window positions (see also FAQ - Window positions).

Background

   By default, MatCalc displays the prompt and waits for user input when being started. This applies to the GUI version (“mcg”) as well as to the command line version (“mcc”). MatCalc can alternatively also be started with command line arguments that will perform some predefined action. Typically, these are:

   - pass on the name of a script file, which will be automatically executed.

   - use a command switch, such as, for instance, ”/r” to restore window positions to their default values.

Solution

   Windows

      Open the command line application:

     Type “mcg argument” or “mcc argument” in the command prompt separated by a blank. Replace “argument” by the specific term that you want to pass on to MatCalc. This can be either the name of a script or a switch, such as ”/r”.

      Edit the Icon on the desktop to include.

   Linux

     Type “mcg argument” or “mcc argument” in the command prompt separated by a blank. Replace “argument” by the specific term that you want to pass on to MatCalc.

 

  • Application window does not show up on program start. What should I do?

Diagnosis

   On startup of MatCalc, it might occur that the program window does not show up.

   While operating MatCalc and trying to open windows, such as the 'buffer states' or 'console' window, they do not show up and seem to have disappeared.

Background

   When MatCalc is closed, the last window positions are saved for the next startup. When you use two computer screens, it might happen that you move some popup windows, or even the entire main window, to a secondary screen. If you open MatCalc without the secondary screen connected, MatCalc will still try to display the windows on the latest positions. In this case, the secondary display.

Solution

   Reset the saved positions of the MatCalc windows.

   If MatCalc is running

      Open the 'View' menu and select 'Restore window positions'

   If you do not see the application window (version 1, the 'easy way', MatCalc version 5.44.0012 and higher)

      Start MatCalc (you will not see the main window, but after starting the program, MatCalc will have keyboarded focus).

      Press the ALT and SHIFT keys together with 'R' (ALT + SHIFT + 'R'). This should bring the main window to your screen. If not, try the 'hard way' described below.

   If you do not see the application window (version 2, the 'hard way')

      Close all running instances of MatCalc. Eventually kill all hanging threads.

      Open the command line window (terminal) of your operating system. (For instance, on Windows, press the Windows start button and select 'Run…'. Type 'cmd' in the edit field and press 'Enter'. This procedure should start the terminal application).

      Change to your MatCalc program directory (on Windows, you will typically use the command 'cd' with: cd “c:\program files\MatCalc”)

    Start MatCalc with the suffix '/r'. (On Windows, type the following command: “mcg /r”. See also FAQ - Pass on command line arguments)

      The '/r' switch tells MatCalc to restore all window positions just like for the previous menu command from within MatCalc.