why MATLAB online error "requires Statistics and Machine Learning Toolbox."
137 views (last 30 days)
Show older comments
why matlab online error "requires Statistics and Machine Learning Toolbox."
my acadmic license is already linked
hasLicenseForToolbox = license('test', 'Statistics_Toolbox')
output is
hasLicenseForToolbox = 0
Please help me
4 Comments
Dyuman Joshi
on 26 Mar 2024
Edited: Dyuman Joshi
on 26 Mar 2024
@Ghanshyam, I have removed the license number in the above comment you posted.
You should never share your MATLAB license number with anybody, especially not on a public forum.
Edit - And you edited the comment back welp.
Accepted Answer
Drew
on 25 Mar 2024
Looks like a license issue.
Here are a few steps suggested by generative AI. If this answer helps you, please remember to accept the answer.
The error message you're encountering in MATLAB Online, which states it "requires Statistics and Machine Learning Toolbox," along with the output of hasLicenseForToolbox = 0 from license('test', 'Statistics_Toolbox'), suggests that MATLAB does not recognize an active license for the Statistics and Machine Learning Toolbox under your account. This situation can occur due to a few reasons, even if your academic license is already linked. Here are some steps and considerations to help troubleshoot and potentially resolve the issue:1. Check Toolbox Availability in Your License
- Verify Toolbox License: Ensure that your academic license indeed includes the Statistics and Machine Learning Toolbox. Not all academic licenses include all toolboxes, so it's important to confirm this.
- MATLAB License Center: You can check the toolboxes included in your license by visiting the MATLAB License Center on the MathWorks website. Log in with your MathWorks account to see the details of your license and verify if the Statistics and Machine Learning Toolbox is listed.
2. MATLAB Online Limitations
- Toolbox Support: While MATLAB Online supports many toolboxes, there might be limitations or specific conditions under which a toolbox is available. Ensure that MATLAB Online supports the Statistics and Machine Learning Toolbox without restrictions for academic licenses.
3. License Activation and Account Synchronization
- Synchronize License: Make sure your MATLAB Online session is correctly linked to your MathWorks account that has the academic license. Sometimes, logging out and then logging back into MATLAB Online can help refresh the license status.
- Browser and Cache: Occasionally, browser issues or cached data can interfere with web applications. Try clearing your browser's cache or using MATLAB Online in a different browser or incognito mode to see if the issue persists.
4. Contact Support
If after trying the above steps, you still face the issue, it might be best to contact MathWorks Support directly. They can provide specific assistance for your account and license status. You can contact them through the MathWorks website. Be ready to provide details about your license and the exact error messages you're encountering.
Technical Note
The correct toolbox name to test for the Statistics and Machine Learning Toolbox is "Statistics_Toolbox", as you've used. However, always ensure you're using the latest syntax and commands as per the current MATLAB documentation, as these can change over time.
Conclusion
The issue likely revolves around the licensing and availability of the Statistics and Machine Learning Toolbox under your academic license within MATLAB Online. By verifying the license, checking for any limitations, ensuring proper account synchronization, and potentially reaching out to MathWorks Support, you should be able to resolve the problem.
More Answers (0)
See Also
Categories
Find more on Platform and License in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!