Hi,
I tried to run a function.m (call_osc) that calls another function.m (osc).
It is working and plotting perfectly in matlab but when I I include them in mathscrip window after adding the 2 functions in the appropriate folder I get an error saying that y in unknown.
I tried also to add both functions in the mathscrip structure. But no success.
Could someone help me to solve this problem, please?
It will be great if I have all the code together in one windows instead of calling different functions.
Thanks