1 Pages (8 items)
Import results from another smath studio file - Messages
#1 Posted: 11/27/2022 1:04:29 PM
Hello,
Is it possible to import a results from another smath studio file and then use it as a imput for the second file?
Thanks
Is it possible to import a results from another smath studio file and then use it as a imput for the second file?
Thanks
#2 Posted: 11/27/2022 1:34:59 PM
Use include() function.
Learn more from Reference Book.
Regards
Learn more from Reference Book.
Regards
#3 Posted: 11/28/2022 2:13:30 PM
To be ensure new users not getting confused by Jean's immorally promoted and irrelevant samples;
Question was calculating and getting result from another worksheet.
Not writing results into file getting them in same sheet.
Here is an example how include() can be used.
Regards
include_main.sm (3 KiB) downloaded 28 time(s).
include_sub.sm (2 KiB) downloaded 34 time(s).


Question was calculating and getting result from another worksheet.
Not writing results into file getting them in same sheet.
Here is an example how include() can be used.
Regards
include_main.sm (3 KiB) downloaded 28 time(s).
include_sub.sm (2 KiB) downloaded 34 time(s).
2 users liked this post
#4 Posted: 11/28/2022 5:25:02 PM
Hello guys!
Thank for the support.
Bye
Thank for the support.
Bye
#5 Posted: 11/28/2022 6:56:54 PM
.WroteIs it possible to import a results from another Smath Studio file and then use it as a input for the second file?
You can try from the attached.
As given, re-code the the referenced include(,)
Should work as they will be from the same download directory.
Genfit Minimize Include Test.sm (58 KiB) downloaded 33 time(s).
Genfit Minimize Include.sm (31 KiB) downloaded 30 time(s).
Include(,) is more for advanced maths
#6 Posted: 11/28/2022 8:19:57 PM
#7 Posted: 11/29/2022 5:42:06 AM
SMath studio has the built-in functions rfile() and wfile() which are used to store and retrieve expressions to/from the file system.
These native functions don't provide control as to where the files are stored (if I recall correctly, it is the settings directory (install directory if using a portable version).
Yet the Mathcad toolbox plugin provides extended functions with path control, e.g. you can enforce storage at the document directory.

wfile.sm (3 KiB) downloaded 25 time(s).
These native functions don't provide control as to where the files are stored (if I recall correctly, it is the settings directory (install directory if using a portable version).
Yet the Mathcad toolbox plugin provides extended functions with path control, e.g. you can enforce storage at the document directory.
wfile.sm (3 KiB) downloaded 25 time(s).
Martin Kraska
Pre-configured portable distribution of SMath Studio: https://en.smath.info/wiki/SMath%20with%20Plugins.ashx
1 Pages (8 items)
-
New Posts
-
No New Posts