Live script: warning could not find appropriate function on path

I am editing a live script from my labmate with MATLAB 9.3.0.713579 (R2017b) on an Ubuntu 17.10 machine. I receive the following error once I run the live script.
load('data')
Warning: Could not find appropriate function on path loading function handle C:\Users\Tom\AppData\Romaing\MathWorks\R2017a\Editor\LiveEditorEvaluationHelperE571740976.mlx>@(data,alpha,x_min) ((data./x_min).^(1-alpha))
The remaining live script executes without error, but I am not sure how to resolve this problem.
Thank you

8 件のコメント

Walter Roberson
Walter Roberson 2018 年 2 月 6 日
Is that your account shown, "Tom", or is it your labmates?
I notice that it refers to "Romaing" instead of to "Roaming"
bdatko
bdatko 2018 年 2 月 7 日
Tom is my labmate. I typed it out the path myself because I couldn't highlight the line within the live script to copy and past.
Walter Roberson
Walter Roberson 2018 年 2 月 7 日
Hmmm, for whatever reason, LiveScript created a function named LiveEditorEvaluationHelperE571740976.mlx and put a hard-coded path reference in the file.
The easiest way to get around the error is to locate that LiveEditorEvaluationHelperE571740976.mlx file and create C:\Users\Tom\AppData\Romaing\MathWorks\R2017a\Editor on your machine and store the file there.
I am not quite clear as to what is stored in data.mat that might trigger the issue? Perhaps your labmate did a "save" without specifying variable names at a time when they happened to have a reference to a graphics object in their workspace.
bdatko
bdatko 2018 年 2 月 7 日
編集済み: bdatko 2018 年 2 月 7 日
I am also curious about the cause of the error. However, I tried what you suggested and created the empty file LiveEditorEvaluationHelperE571740976.mlx, saved the file in C:\Users\Tom\AppData\Roaming\MathWorks\MATLAB\R2017a\Editor\ then the warning went away.
So I am on Ubuntu so the "$" is my bash shell and ">>" is my MATLAB command line.
$ mkdir "C:\Users\Tom\AppData\Roaming\MathWorks\MATLAB\R2017a\Editor\/"
>> edit LiveEditorEvaluationHelperE571740976.mlx
>> load('data')
Walter Roberson
Walter Roberson 2018 年 2 月 7 日
Heh, good trick using a file name with embedded \ characters.
bdatko
bdatko 2018 年 2 月 7 日
Haha, thanks. If you want credit for the answer copy and paste your comment into the answer. Otherwise, I think an editor will promote the comment as the solution. Thank you for the help!
Walter Roberson
Walter Roberson 2018 年 2 月 7 日
The editors do not have tools to convert a Comment into an Answer. We remind Mathworks from time to time that we could use something like that...
bdatko
bdatko 2018 年 2 月 7 日
-_- ........ Maybe one day

サインインしてコメントする。

 採用された回答

Walter Roberson
Walter Roberson 2018 年 2 月 7 日

0 投票

Hmmm, for whatever reason, LiveScript created a function named LiveEditorEvaluationHelperE571740976.mlx and put a hard-coded path reference in the file.
The easiest way to get around the error is to locate that LiveEditorEvaluationHelperE571740976.mlx file and create C:\Users\Tom\AppData\Romaing\MathWorks\R2017a\Editor on your machine and store the file there.

その他の回答 (0 件)

質問済み:

2018 年 2 月 6 日

コメント済み:

2018 年 2 月 7 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by