Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors when launching in web #1

Open
192933488S opened this issue Jul 15, 2024 · 9 comments
Open

Errors when launching in web #1

192933488S opened this issue Jul 15, 2024 · 9 comments

Comments

@192933488S
Copy link

Hello all,
I am getting the following list of errors when starting online. Note that I am not trying to use online, I am just browsing/reading through this howto.

Error using matlab.internal.project.api.loadProject
Unrecognized function or variable 'slreq.app.ProjectManager.projectOpened'.

Error in matlab.project.loadProject

Error in openProject

Error using matlab.internal.project.api.loadProject
Simulink.fileGenControl requires one of the following:
Embedded Coder
Simulink Coder
Simulink

Error in matlab.project.loadProject

Error in openProject

Warning: Unable to start Project plugin: N5slreq7linkmgr23ReqProjectWatcherPluginE
Unrecognized function or variable 'Simulink.ModelManagement.Project.Toolstrip.ProjectContextManager.refresh'.

@eszmw
Copy link
Member

eszmw commented Jul 16, 2024

Thank you for letting me know. I haven't been able to reproduce this, but I did update a few file paths to be more precise. Can you pull an updated version and see if you are still having problems? If so, can you give me more information about how you are "starting online"? Are you clicking one of the links in the README file? Or somewhere else?

@192933488S
Copy link
Author

Hi!
I just hit the provided link "Open in MATLAB Online" 🫣

image

@eszmw
Copy link
Member

eszmw commented Jul 17, 2024

Ah, I see what is happening. Most of the links I provide open a script in the background as well as the starting app in the foreground. You happened to use the one link that only opens the app so what you are seeing in the Command Window is, I suspect, from a previous interaction with MATLAB Online. I will update that link to open the README as well, but I suspect that if you select "Main Menu" or "README" from the app it would work just fine. You could try running clc in the Command Window, too.

@192933488S
Copy link
Author

Okay! Maybe I will come back to the tutorial one day.

@eszmw
Copy link
Member

eszmw commented Jul 18, 2024

Did you try the updated link I added, just so I know if it helped or not? I know you were just looking and not planning to work through it right now.

@192933488S
Copy link
Author

Hi, yes did it, but get the error

Error using matlab.internal.project.api.loadProject
Unrecognized function or variable 'slreq.app.ProjectManager.projectOpened'.

Error in matlab.project.loadProject

Error in openProject
 
Warning: Unable to start Project plugin: N5slreq7linkmgr23ReqProjectWatcherPluginE 
Unrecognized function or variable 'Simulink.ModelManagement.Project.Toolstrip.ProjectContextManager.refresh'.
 
>> 

If I click https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj then there is no error, but the link with README seems to produce it? https://matlab.mathworks.com/open/github/v1?repo=MathWorks-Teaching-Resources/Programming-Structuring-Code&project=StructuringCode.prj&file=README.mlx

@eszmw
Copy link
Member

eszmw commented Jul 23, 2024

You are baffling me more all the time. :) Would you mind trying a couple of commands in the Command Window for me when you get this error?

which slreq.app.ProjectManager.projectOpened
which Simulink.ModelManagement.Project.Toolstrip.ProjectContextManager.refresh

And could you please also try opening a project example to see if you get the same errors. eg:

openExample("matlab/TimesTableProjectExample")

Thank you for helping me hunt down this problem. I'm sorry I can't reproduce it myself!

@192933488S
Copy link
Author

I‘m sick. Will get back you in a few days.

@eszmw
Copy link
Member

eszmw commented Jul 25, 2024

I'm sorry to hear that. I hope you feel better soon!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants