MATLAB Central Discussions - Join the conversation!
Main Content

Results for


    Since May 2023, MathWorks officially introduced the new Community API(MATLAB Central Interface for MATLAB), which supports both MATLAB and Node.js languages, allowing users to programmatically access data from MATLAB Answers, File Exchange, Blogs, Cody, Highlights, and Contests.
    I’m curious about what interesting things people generally do with this API. Could you share some of your successful or interesting experiences? For example, retrieving popular Q&A topics within a certain time frame through the API and displaying them in a chart.
    If you have any specific examples or ideas in mind, feel free to share!
    Currently, according to the official documentation, "DisplayName" only supports character vectors or single scalar string as input. For example, when plotting three variables simultaneously, if I use a single scalar string as input, the legend labels will all be the same. To have different labels, I need to specify them separately using the legend function with label1, label2, label3.
    Here's an example illustrating the issue:
    x = (1:10)';
    y1 = x;
    y2 = x.^2;
    y3 = x.^3;
    % Plotting with a string scalar for DisplayName
    figure;
    plot(x, [y1,y2,y3], DisplayName="y = x");
    legend;
    % To have different labels, I need to use the legend function separately
    figure;
    plot(x, [y1,y2,y3], DisplayName=["y = x","y = x^2","y=x^3"]);
    Error using plot
    Value must be a character vector or a string scalar.
    % legend("y = x","y = x^2","y=x^3");
    What is the side-effect of counting the number of Deep Learning Toolbox™ updates in the last 5 years? The industry has slowly stabilised and matured, so updates have slowed down in the last 1 year, and there has been no exponential growth.Is it correct to assume that? Let's see what you think!
    releaseNumNames = "R"+string(2019:2024)+["a";"b"];
    releaseNumNames = releaseNumNames(:);
    numReleaseNotes = [10,14,27,39,38,43,53,52,55,57,46,46];
    exampleNums = [nan,nan,nan,nan,nan,nan,40,24,22,31,24,38];
    bar(releaseNumNames,[numReleaseNotes;exampleNums]')
    legend(["#release notes","#new/update examples"],Location="northwest")
    title("Number of Deep Learning Toolbox™ update items in the last 5 years")
    ylabel("#release notes")
    As far as I know, the MATLAB Community (including Matlab Central and Mathworks' official GitHub repository) has always been a vibrant and diverse professional and amateur community of MATLAB users from various fields globally. Being a part of it myself, especially in recent years, I have not only benefited continuously from the community but also tried to give back by helping other users in need.
    I am a senior MATLAB user from Shenzhen, China, and I have a deep passion for MATLAB, applying it in various scenarios. Due to the less than ideal job market in my current social environment, I am hoping to find a position for remote support work within the Matlab Community. I wonder if this is realistic. For instance, Mathworks has been open-sourcing many repositories in recent years, especially in the field of deep learning with typical applications across industries. I am eager to use the latest MATLAB features to implement state-of-the-art algorithms. Additionally, I occasionally contribute through GitHub issues and pull requests.
    In conclusion, I am looking forward to the opportunity to formally join the Matlab Community in a remote support role, dedicating more energy to giving back to the community and making the world a better place! (If a Mathworks employer can contact me, all the better~)
    Is MathWorks going to spend 5 years starting in 2024 making Python the #1 supported language?
    I'm not sure it's authentic information, and am looking forward to a high level of integration with python.
    Reference:
    Go to top of page