I have a live script (main.mlx) that is calling two other live scripts (sub1.mlx, sub2.mlx). I want the output to be shown when calling the subscripts by themself but not when I call the main script, though I want to display something in the main script. I tried to put a semicolon behind the subscript calls in main script.
Minimum working example
main.mlx:
clear vars
sub1;
sub2;
sub1.mlx:
syms A1 B1
A1 = B1
sub2.mlx:
syms A2 B2
A2 = B2
Expected output: None
Output:
What I tried (unsuccessfully):
clear vars
run('sub1.mlx');
run('sub2.mlx');
