# 'Sol' not defined upon opening Julia?

**URL:** <https://discourse.julialang.org/t/sol-not-defined-upon-opening-julia/109480>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [January 30, 2024, 11:54pm UTC](https://discourse.julialang.org/t/sol-not-defined-upon-opening-julia/109480 "2024-01-30T23:54:14Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mike.ingold](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mike.ingold/32/203749_2.png) [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)\
**Post date:** [January 31, 2024, 12:37am UTC](https://discourse.julialang.org/t/sol-not-defined-upon-opening-julia/109480/4 "2024-01-31T00:37:56Z")

</div>

If you wrap the code in this Discourse post in backticks it will display as a code block, which will make it easier for us to read and understand.

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

It looks like you define M inside of a function. In that case you’re returning the contents of M, not the name itself.

Are you supposed to pass in a matrix or the function that returns the matrix?

---

_[View the full topic](https://discourse.julialang.org/t/sol-not-defined-upon-opening-julia/109480)._
