R2019a Update 1 error: “Unable to load the outputs”

2 次查看(过去 30 天)
Test case
After installing Update 1 for R2019a, if I click on "Hide Code" icon, then I'm not able to make the code visible any more. If I save the LiveScript when the code is hidden and then try to open again the file, I get the following error "Unable to load the outputs. Contact Technical Support for assistance".
Thank you in advance for your help
% Just a sample code
syms x
y(x)=sin(x);
fplot(y);
P.S: I'm running Matlab R2019a Update 1 on Linux OpenSUSE.

采纳的回答

Hagen Ulbrich
Hagen Ulbrich 2019-5-13
Hi, Angelo!
I am running MATLAB 2019a Update 1 on Windows, but have exactly the same problem. Due to my limited time frame, I do not have the time to wait for an "Update 2" - and: No, re-installing does not fix the isssue.
I tried something else and it seems to work, although I would not recommend it for "production" scripts.
Rename the live script ".mlx" file to ".zip", or extract the ".mlx" file as if it was a zip archive. Then browse to the folder "matlab" in the extracted archive. I then copied the output.xml of another live script with no output and replaced the output.xml in this folder. I have attached the "empty" output.xml (needed to zip it, as the file type ".xml" is not supported as attachment). Then re-create the zip archive from the original archive folder containing the modified output.xml. And rename it to ".mlx".
Sample: You have a live script named "bla.mlx". Rename it to "bla.zip" and extract it to the folder "~/bla". Then browse to the folder "~/bla/matlab" and replace the file "output.xml" with the attached one. Finally, re-create the zip archive by packing the content of "~/bla" to a zip file "bla2.zip" (make sure to only pack the content, not including the root folder entry "bla"), and rename the zip archive to "bla2.mlx". Done.
For those, having the same problem, but cannot follow this description and only understand "blah, blah, blah" here, please wait for an official fix, or try a search engine for the OS-specific details.
Best regards
Hagen
  3 个评论
Hagen Ulbrich
Hagen Ulbrich 2019-5-13
Hi, Angelo!
Actually, I like your workaround, as it is easier, and this problem tends to occur again and again, when generating PDF or Word documents.
But, on the other hand, for me it is unusable, as it breaks most of the "formatted text" formatting by transforming numbered lists and headings into code comments.
In the long-run, this shows, that there needs to be supplied a fix for the underlying issue!
Best regards
Hagen
Angelo Cacini
Angelo Cacini 2019-5-13
Hagen,
I agree with you, look forward for a fix.
Regards,
Angelo

请先登录,再进行评论。

更多回答(1 个)

Angelo Cacini
Angelo Cacini 2019-5-24
编辑:Angelo Cacini 2019-5-24
R2019a Update 2 fixes this bug.

类别

Help CenterFile Exchange 中查找有关 Logical 的更多信息

标签

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by