Not able publish the code using MATLAB online

5 次查看(过去 30 天)
I am using matlab online for my college projects and for that I am using MATLAB online using my institute id but there is a problem, I am not able to publish the code using matlab online, while I am able to publish it using MATLAB installed on my laptop. I don't want to use MATLAB on my laptop because it works very slow there. What should I do?

回答(1 个)

Ishu
Ishu 2024-2-7
Hi Sonu,
The steps to use "pubish" function are same for both MATLAB desktop and online versions. First you have to create a .m file and include all the content that you want in your published documentation and then you can just run "publish" function in the command window with the options that you want to use.
If this do not help you can share the exact error when you use MATLAB online so that I will be able to reproduce or rectify the error.
% Suppose you have a publish_file.m file that you want to publish
publish('publish_file', options);
For more information on "publish" function you can refer below documentation:
Hope it helps!

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by