Mathematica and Wolfram SystemModeler tips Note pages

Title Keywords Note kind
Mathematica: TIPS: Filename chooser dialogs Wolfram, Mathematica TOOL
GOTCHA/BUG: Cameo Simulation Toolkit v2021xR1 + Mathematica: Delegation to Mathematica from ConstraintBlocks FAILS if any of the input or output parameters are larger than 99999 because they get interpreted as 1.0e5 and that trips something! Aarrrggggh! SysML, MD SysML, Mathematica, Wolfram, Cameo Systems Modeler, SysML Parametrics, calculation, CATIA Magic:v2021xR1 GOTCHA, ISSUE, TOOL
HOWTO access custom (user-defined) Mathematica functions using Mathematica v12.3.1.0 as an external maths engine for SysML Parametrics (ConstraintBlocks) in Magic Model Analyst (Cameo Simulation Toolkit) version 2021x or 2021xR1 Wolfram, JLink, Mathematica, MagicDraw SysML, SysML, MD SysML, SysML Parametrics, mathematics, CATIA Magic, Magic Model Analyst [Cameo Simulation Toolkit], CATIA Magic:v2021x, CATIA Magic:v2021xR1, JDK, Java Development Kit, Java, ParaMagic QUESTION, TIP, TOOL
Mathematica: HOWTO Autoload the simplest possible .m or .wl Package file with a few custom functions Wolfram, Mathematica NAMING, PATTERN, TIP
Mathematica + Magic Model Analyst (Cameo Simulation Toolkit) for SysML Parametrics: GOTCHA: You must use a regular '=' on the SysML side, not the Mathematica '==' (or it will be intepreted as a constraint condition to test, not an equation to solve). Wolfram, JLink, Mathematica, MagicDraw SysML, SysML, MD SysML, SysML Parametrics, mathematics, CATIA Magic, Magic Model Analyst [Cameo Simulation Toolkit], CATIA Magic:v2021x, CATIA Magic:v2021xR1, JDK, Java Development Kit, Java GOTCHA, TOOL, WARNING
HOWTO use Mathematica v12.3.1.0 as an external maths engine for SysML Parametrics (ConstraintBlocks) in Magic Model Analyst (Cameo Simulation Toolkit) version 2021x or 2021xR1 Wolfram, JLink, Mathematica, MagicDraw SysML, SysML, MD SysML, SysML Parametrics, mathematics, CATIA Magic, Magic Model Analyst [Cameo Simulation Toolkit], CATIA Magic:v2021x, CATIA Magic:v2021xR1, JDK, Java Development Kit, Java TIP, TOOL
Mathematica: TIP: Use cell division between every function in .wl library files to make them more readable (and to make it easier to apply at least some degree automated code formatting per function). Wolfram, Mathematica CAPABILITY, FEATURE, TIP, TOOL
Webel: Mathematica is functional programming on steroids (and has nearly everything else, except for decent in-built OO support). Mathematica, Wolfram, functional programming, functional ASSERTION, TIP
Webel: Mathematica: WISHLIST: Support for EXTRACTABLE STRUCTURED documentation for individual arguments to functions right in/near the code. Yes it is needed. Really it is. Wolfram, Mathematica, Webel:WISHLIST LIMITATION, TOOL, WISHLIST
Webel: Mathematica: WISHLIST: Support for decent vendor-supported built-in object-orientation (OO) and inheritance! Wolfram, Mathematica, Webel:WISHLIST, inheritance, object-oriented, OOP, OO TOOL, WISHLIST
Mathematica: Webel: You CAN/MAY use $ in variable names and function names - just not as the first character before a Capital - and it's extremely useful. You won't get sent to Azkaban prison if do you use a $ character! Wolfram, Mathematica NAMING, OPTION, TIP
Mathematica: Having trouble clearing a variable with complex formatting? Try =. Wolfram, Mathematica TIP
Mathematica: HOWTO Manage test data for functions using rules across multiple functions (and about the Webel '$0' variable suffix convention for substitution targets). Wolfram, Mathematica TIP
Mathematica: HOWTO: Strip an option from an OptionsPattern[] sequence before passing down (propagating) to a function with fewer options Wolfram, Mathematica TIP
Mathematica: Nasser M. Abbasi's cheat sheet Wolfram, Mathematica TIP, TOOL
Mathematica: HOWTO Create collapsible control groups in Manipulate GUIs Wolfram, Mathematica DISPLAY, FEATURE, TIP, TOOL
Mathematica: TIP: OverDot: Type CTRL & and then . to enter an OverDot directly Mathematica, Wolfram, notation FEATURE, TIP, TOOL
Mathematica: TIP: OverBar: Type CTRL & and then _ to enter an OverBar directly Mathematica, Wolfram, notation FEATURE, TIP, TOOL
Mathematica: v12.3.1.0: How to obtain values of physical constants Mathematica, physical quantity, quantity, magnitude, units, Wolfram TIP
Mathematica: GOTCHA: MMA distinguishes between Kelvins and KelvinsDifference Mathematica, quantity, units, physical quantity, temperature, Kelvins, celsius, Wolfram GOTCHA, WARNING
Wolfram SystemModeler: Not clear how to draw a connect that already exists in the Modelica code Modelica, Wolfram SystemModeler, Wolfram ISSUE, TOOL
Wolfram SystemModeler: On Mac the Unit Conversions dialog is under SystemModeler -> Preferences -> Global -> Unit Conversion (rather than under Tools -> Options) Modelica, Wolfram SystemModeler, units, unit conversion, macOS, Wolfram GOTCHA, TIP, WARNING
Wolfram SystemModeler: GOTCHA: The conversion dialog will not offer the Add Unit Conversion button unless there is not already an existing conversion in BOTH directions. Modelica, Wolfram SystemModeler, units, unit conversion, Wolfram GOTCHA, TIP, WARNING